aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-21 11:06:53 +0930
committerAlan Modra <amodra@gmail.com>2020-04-21 11:35:43 +0930
commitfad3d2c1b268735fe6bfa280a8e4e260fb0196a7 (patch)
tree0684428fcd0605405ee4382be78831492fabe6bf /include
parent0ff8f4b9f0839f04868aac6fa2f7ca8cf14ef7ca (diff)
downloadgdb-fad3d2c1b268735fe6bfa280a8e4e260fb0196a7.zip
gdb-fad3d2c1b268735fe6bfa280a8e4e260fb0196a7.tar.gz
gdb-fad3d2c1b268735fe6bfa280a8e4e260fb0196a7.tar.bz2
Remove SH-5 remnants
git commit 211dc24b87 removed most sh5 and sh64 SuperH support, after they were obsoleted by git commit 2b213129c5. This patch removes a few remaining pieces that should have gone with 211dc24b87. include/ * elf/sh.h (STO_SH5_ISA32, SHF_SH5_ISA32, SHF_SH5_ISA32_MIXED), (SHT_SH5_CR_SORTED, STT_DATALABEL): Delete. bfd/ * elf32-sh.c (sh_elf_relocate_section): Remove STO_SH5_ISA32 processing.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/sh.h21
2 files changed, 5 insertions, 21 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 42698b2..1829ec5 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-21 Alan Modra <amodra@gmail.com>
+
+ * elf/sh.h (STO_SH5_ISA32, SHF_SH5_ISA32, SHF_SH5_ISA32_MIXED),
+ (SHT_SH5_CR_SORTED, STT_DATALABEL): Delete.
+
2020-04-10 Fangrui Song <maskray@google.com>
PR binutils/24613
diff --git a/include/elf/sh.h b/include/elf/sh.h
index c81d7f9..0408ec2 100644
--- a/include/elf/sh.h
+++ b/include/elf/sh.h
@@ -95,27 +95,6 @@ int sh_elf_get_flags_from_mach (unsigned long mach);
be relocated independently. */
#define EF_SH_FDPIC 0x8000 /* Uses the FDPIC ABI. */
-/* Flags for the st_other symbol field.
- Keep away from the STV_ visibility flags (bit 0..1). */
-
-/* A reference to this symbol should by default add 1. */
-#define STO_SH5_ISA32 (1 << 2)
-
-/* Section contains only SHmedia code (no SHcompact code). */
-#define SHF_SH5_ISA32 0x40000000
-
-/* Section contains both SHmedia and SHcompact code, and possibly also
- constants. */
-#define SHF_SH5_ISA32_MIXED 0x20000000
-
-/* If applied to a .cranges section, marks that the section is sorted by
- increasing cr_addr values. */
-#define SHT_SH5_CR_SORTED 0x80000001
-
-/* Symbol should be handled as DataLabel (attached to global SHN_UNDEF
- symbols). */
-#define STT_DATALABEL STT_LOPROC
-
#include "elf/reloc-macros.h"
/* Relocations. */