aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-30 22:09:51 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-30 22:09:51 +0000
commitc86158e591edd8450f49f8cd75f82e4313d4b6d8 (patch)
treee17ece37589761df543fb981c2c1dd6391dab4e5 /bfd/.Sanitize
parent787d66bb4d1d8ded6de1a1f3bf7b3d32ec516b20 (diff)
downloadgdb-c86158e591edd8450f49f8cd75f82e4313d4b6d8.zip
gdb-c86158e591edd8450f49f8cd75f82e4313d4b6d8.tar.gz
gdb-c86158e591edd8450f49f8cd75f82e4313d4b6d8.tar.bz2
Add SH ELF support.
* elf32-sh.c: New file. * elf.c (prep_headers): Handle bfd_arch_sh. * elfcode.h (write_relocs): Handle absolute symbol. * elf-bfd.h (_bfd_elf32_link_read_relocs): Declare. (_bfd_elf64_link_read_relocs): Declare. * elflink.h (NAME(_bfd_elf,link_read_relocs)): Rename from elf_link_read_relocs. Make globally visible. Change all callers. (elf_link_input_bfd): Get external symbols from cache in symtab_hdr->contents. Get contents from cache in elf_section_data. * elfxx-target.h (bfD_elfNN_bfd_relax_section): Only define if not already defined. * reloc.c: Define BFD_RELOC_SH_* relocs. * libbfd-in.h (_bfd_sh_align_load_span): Declare. * coff-sh.c (sh_insns_conflict): Fix a return value. (_bfd_sh_align_load_span): New globally visible function, broken out of sh_align_load. (sh_align_load): Call _bfd_sh_align_load_span. (sh_swap_insns): Change relocs parameter to PTR. * bfd-in2.h, libbfd.h: Rebuild. * targets.c (bfd_elf32_sh_vec): Declare. (bfd_elf32_shl_vec): Declare. * config.bfd (sh-*-elf*): New target. * configure.in (bfd_elf32_sh_vec): New target vector. (bfd_elf32_shl_vec): New target vector. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add elf32-sh.o. (BFD32_BACKENDS_CFILES): Add elf32-sh.c. * elf.c (map_sections_to_segments): Check that LMA does not skip a page before checking D_PAGED.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index a356221..2113c38 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -153,6 +153,7 @@ elf32-m68k.c
elf32-m88k.c
elf32-mips.c
elf32-ppc.c
+elf32-sh.c
elf32-sparc.c
elf32.c
elf64-alpha.c