aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-h8300.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-25 04:34:50 +0000
committerAlan Modra <amodra@gmail.com>2001-09-25 04:34:50 +0000
commit0c715baa724c70f3b8da8239e8c69bdaca8b05c9 (patch)
treebcbf60f47d938e3ac663b954c93efcb724074caa /bfd/cpu-h8300.c
parent4f3379724d512db262eee1a6a8dc8938f11ee4a1 (diff)
downloadgdb-0c715baa724c70f3b8da8239e8c69bdaca8b05c9.zip
gdb-0c715baa724c70f3b8da8239e8c69bdaca8b05c9.tar.gz
gdb-0c715baa724c70f3b8da8239e8c69bdaca8b05c9.tar.bz2
* elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
and "sreloc" fields. * elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and "pc_count" fields. Remove "section" field. (elf_i386_check_relocs): Don't set DF_TEXTREL here. Don't allocate space for dynamic relocs here. Instead, record all needed dynamic relocs via dyn_relocs and local_dynrel. Cache pointer to "sreloc" section in elf_section_data. (elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. (allocate_plt_and_got_and_discard_relocs): Rename to allocate_dynrelocs. Allocate rather than discarding dyn relocs. (readonly_dynrelocs): New function. (elf_i386_size_dynamic_sections): Call readonly_dynrelocs. Rename "i" to "ibfd". Allocate space for local dyn relocs. (elf_i386_relocate_section): Make use of cached sreloc.
Diffstat (limited to 'bfd/cpu-h8300.c')
0 files changed, 0 insertions, 0 deletions