diff options
author | Alan Modra <amodra@gmail.com> | 2010-10-01 08:15:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-10-01 08:15:42 +0000 |
commit | abf4be64df114dbca199fc2c2fbf52fa17492649 (patch) | |
tree | 9b3869563a3f3201d06ec1d3681448c8f57212fd /ld/ldexp.c | |
parent | 0629d0af5a963d9bf2eafe458dc01f40eb597615 (diff) | |
download | gdb-abf4be64df114dbca199fc2c2fbf52fa17492649.zip gdb-abf4be64df114dbca199fc2c2fbf52fa17492649.tar.gz gdb-abf4be64df114dbca199fc2c2fbf52fa17492649.tar.bz2 |
PR ld/12066
* ldexp.c (fold_name): Treat absolute symbols as plain numbers.
* ld.texinfo (Expression Section): Don't say absolute symbols
are addresses.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -553,6 +553,8 @@ fold_name (etree_type *tree) " referenced in expression\n"), tree->name.name); } + else if (output_section == bfd_abs_section_ptr) + new_number (h->u.def.value + h->u.def.section->output_offset); else new_rel (h->u.def.value + h->u.def.section->output_offset, output_section); |