diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-06-25 18:03:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-06-25 18:03:03 +0000 |
commit | 5d43039962998186e46ced27128bbee4d7d68a3a (patch) | |
tree | e11c108cdf43c1049d01da73aa2b7bb2cd87a81a /bfd/elf64-x86-64.c | |
parent | 932d1a1b032546950161e81d20e1f4a6fa4ad9be (diff) | |
download | gdb-5d43039962998186e46ced27128bbee4d7d68a3a.zip gdb-5d43039962998186e46ced27128bbee4d7d68a3a.tar.gz gdb-5d43039962998186e46ced27128bbee4d7d68a3a.tar.bz2 |
Properly define elf_backend_post_process_headers.
2011-06-25 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_backend_post_process_headers): Don't
define for FreeBSD/x86-64 nor FreeBSD/L1OM. Define for L1OM.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 9ae81bf..ca480ab 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4958,6 +4958,8 @@ static const struct bfd_elf_special_section #undef elf64_bed #define elf64_bed elf64_x86_64_fbsd_bed +#undef elf_backend_post_process_headers + #include "elf64-target.h" /* Solaris 2 support. */ @@ -5017,6 +5019,8 @@ elf64_l1om_elf_object_p (bfd *abfd) #define elf_backend_object_p elf64_l1om_elf_object_p #undef elf_backend_post_process_headers +#define elf_backend_post_process_headers _bfd_elf_set_osabi + #undef elf_backend_static_tls_alignment #undef elf_backend_want_plt_sym @@ -5038,7 +5042,6 @@ elf64_l1om_elf_object_p (bfd *abfd) #define elf64_bed elf64_l1om_fbsd_bed #undef elf_backend_post_process_headers -#define elf_backend_post_process_headers _bfd_elf_set_osabi #include "elf64-target.h" @@ -5077,6 +5080,7 @@ elf32_x86_64_elf_object_p (bfd *abfd) #undef ELF_OSABI #undef elf_backend_post_process_headers +#define elf_backend_post_process_headers _bfd_elf_set_osabi #undef elf_backend_object_p #define elf_backend_object_p \ @@ -5090,7 +5094,4 @@ elf32_x86_64_elf_object_p (bfd *abfd) #define elf_backend_size_info \ _bfd_elf32_size_info -#undef elf_backend_post_process_headers -#define elf_backend_post_process_headers _bfd_elf_set_osabi - #include "elf32-target.h" |