diff options
author | Nick Clifton <nickc@redhat.com> | 2003-01-20 18:06:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-01-20 18:06:21 +0000 |
commit | 571fe01fe0fda48588110eec401755cd82a512e7 (patch) | |
tree | cf79e4cfa4aac87c32e3e4a3122c5e501fc1174f /bfd/elf32-sh64.c | |
parent | f2dd3617b5abbdbf929f7b07cb3da97f518aef85 (diff) | |
download | gdb-571fe01fe0fda48588110eec401755cd82a512e7.zip gdb-571fe01fe0fda48588110eec401755cd82a512e7.tar.gz gdb-571fe01fe0fda48588110eec401755cd82a512e7.tar.bz2 |
Treat elfNN_bed like other macros defined in elfxx-target.h and #undef it
before #define'ing it.
Diffstat (limited to 'bfd/elf32-sh64.c')
-rw-r--r-- | bfd/elf32-sh64.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bfd/elf32-sh64.c b/bfd/elf32-sh64.c index a6638e9..492fd73 100644 --- a/bfd/elf32-sh64.c +++ b/bfd/elf32-sh64.c @@ -1,5 +1,5 @@ /* Hitachi SH64-specific support for 32-bit ELF - Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -765,13 +765,11 @@ sh64_elf_final_write_processing (abfd, linker) #define ELF_MAXPAGESIZE 0x10000 #undef elf_symbol_leading_char #define elf_symbol_leading_char 0 - +#undef elf32_bed #define elf32_bed elf32_sh64_nbsd_bed #include "elf32-target.h" -#undef elf32_bed - /* Linux support. */ #undef TARGET_BIG_SYM #define TARGET_BIG_SYM bfd_elf32_sh64blin_vec @@ -781,9 +779,8 @@ sh64_elf_final_write_processing (abfd, linker) #define TARGET_LITTLE_SYM bfd_elf32_sh64lin_vec #undef TARGET_LITTLE_NAME #define TARGET_LITTLE_NAME "elf32-sh64-linux" - +#undef elf32_bed #define elf32_bed elf32_sh64_lin_bed #include "elf32-target.h" -#undef elf32_bed |