diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-30 12:02:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-30 12:08:26 +1030 |
commit | 7f9cb5d275e71a75e97230241ec7da6718a7a0f5 (patch) | |
tree | 9dd03d84c1c53d6a2f0ec25f9ce17661e850feb7 /bfd/elf32-frv.c | |
parent | 81742b83e9f25895eaaf3a07ac1651a4e9a68251 (diff) | |
download | gdb-7f9cb5d275e71a75e97230241ec7da6718a7a0f5.zip gdb-7f9cb5d275e71a75e97230241ec7da6718a7a0f5.tar.gz gdb-7f9cb5d275e71a75e97230241ec7da6718a7a0f5.tar.bz2 |
frv-elf --gc-sections failures
git commit 81742b83e9 exposed an frv-elf bug, with the object id not
matching the hash table id.
* elf32-frv.c (ELF_TARGET_ID): Don't define for generic
elf target.
Diffstat (limited to 'bfd/elf32-frv.c')
-rw-r--r-- | bfd/elf32-frv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c index 7eb003e..825b9a0 100644 --- a/bfd/elf32-frv.c +++ b/bfd/elf32-frv.c @@ -6773,7 +6773,6 @@ elf32_frv_grok_psinfo (bfd *abfd, Elf_Internal_Note *note) return TRUE; } #define ELF_ARCH bfd_arch_frv -#define ELF_TARGET_ID FRV_ELF_DATA #define ELF_MACHINE_CODE EM_CYGNUS_FRV #define ELF_MAXPAGESIZE 0x1000 @@ -6814,6 +6813,8 @@ elf32_frv_grok_psinfo (bfd *abfd, Elf_Internal_Note *note) #include "elf32-target.h" +#undef ELF_TARGET_ID +#define ELF_TARGET_ID FRV_ELF_DATA #undef ELF_MAXPAGESIZE #define ELF_MAXPAGESIZE 0x4000 |