* ldgram.y (LOADADDR): New terminal.

(exp): Handle LOADADDR.
	* ldlex.l: Recognize LOADADDR.
	* ldexp.c (exp_print_token): Add LOADADDR.
	(fold_name): Implement LOADADDR.
	* ldlang.c (exp_init_os): Treat LOADADDR like ADDR.
	* ld.texinfo (Arithmetic Functions): Document LOADADDR.
This commit is contained in:
Ian Lance Taylor
1996-08-02 19:01:58 +00:00
parent 10a14e3639
commit 5735ac9e57
7 changed files with 217 additions and 169 deletions

View File

@@ -618,6 +618,7 @@ exp_init_os (exp)
switch (exp->type.node_code)
{
case ADDR:
case LOADADDR:
case SIZEOF:
{
lang_output_section_statement_type *os;