diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-10 22:21:31 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-10 22:21:31 +0000 |
commit | 8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a (patch) | |
tree | 254231ffcc7d9010b3dcf58542de732dbf3134bf /bfd/elf.c | |
parent | 092d84761e7d020e4ff3a9eeea83cc5e90c2ff36 (diff) | |
download | gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.zip gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.tar.gz gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.tar.bz2 |
Support 32bit core note sections on Linux/x86-64.
2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
PR corefiles/11467
* configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h
for x86_64-*-linux*.
* config.in: Regenerated.
* configure: Likewise.
* elf.c: Include CORE_HEADER if it is defined.
2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* hosts/x86-64linux.h: New.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,10 @@ SECTION #include "libiberty.h" #include "safe-ctype.h" +#ifdef CORE_HEADER +#include CORE_HEADER +#endif + static int elf_sort_sections (const void *, const void *); static bfd_boolean assign_file_positions_except_relocs (bfd *, struct bfd_link_info *); static bfd_boolean prep_headers (bfd *); |