forked from Imagelibrary/binutils-gdb
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user