diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-05-10 01:06:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-05-10 01:06:04 +0000 |
commit | a6e1b90f78109a93688a5935ab3efc0d8b49e0e3 (patch) | |
tree | ff515cadc4ef8d3477057fed167579a1616c28e0 /ld/ldmain.c | |
parent | 282c312b7486cad3240d47aec1cca59282d039c0 (diff) | |
download | gdb-a6e1b90f78109a93688a5935ab3efc0d8b49e0e3.zip gdb-a6e1b90f78109a93688a5935ab3efc0d8b49e0e3.tar.gz gdb-a6e1b90f78109a93688a5935ab3efc0d8b49e0e3.tar.bz2 |
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* ldmain.c (reloc_overflow): Use output_bfd if the symbol
is defined in the ABS section.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 0fce8bf..e89bcea 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -1450,7 +1450,9 @@ reloc_overflow (struct bfd_link_info *info ATTRIBUTE_UNUSED, case bfd_link_hash_defweak: einfo (_(" relocation truncated to fit: %s against symbol `%T' defined in %A section in %B"), reloc_name, entry->root.string, - entry->u.def.section, entry->u.def.section->owner); + entry->u.def.section, + entry->u.def.section == bfd_abs_section_ptr + ? output_bfd : entry->u.def.section->owner); break; default: abort (); |