mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
generic version since we want a hashsize of 4. (elf_backend_size_info): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2001-05-28 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
|
||||||
|
generic version since we want a hashsize of 4.
|
||||||
|
(elf_backend_size_info): Likewise.
|
||||||
|
|
||||||
2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
src/bfd/ChangeLog
|
src/bfd/ChangeLog
|
||||||
@ -33,7 +39,7 @@
|
|||||||
* elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32
|
* elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32
|
||||||
and BFD_RELOC_SPARC_UA64 mapping
|
and BFD_RELOC_SPARC_UA64 mapping
|
||||||
* elf64-sparc.c: Likewise.
|
* elf64-sparc.c: Likewise.
|
||||||
|
|
||||||
2001-05-25 H.J. Lu <hjl@gnu.org>
|
2001-05-25 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
|
* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
|
||||||
@ -93,7 +99,7 @@
|
|||||||
linker now supported. Explictly define the rs6000coff64_vec.
|
linker now supported. Explictly define the rs6000coff64_vec.
|
||||||
|
|
||||||
* coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support
|
* coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support
|
||||||
(coff_print_aux) same
|
(coff_print_aux) same
|
||||||
(coff_write_object_contents) same
|
(coff_write_object_contents) same
|
||||||
(coff_slurp_line_table) same
|
(coff_slurp_line_table) same
|
||||||
|
|
||||||
@ -115,12 +121,12 @@
|
|||||||
|
|
||||||
* libxcoff.h : New file
|
* libxcoff.h : New file
|
||||||
|
|
||||||
* xcofflink.c : Many changes for xcoff64 support. Move common
|
* xcofflink.c : Many changes for xcoff64 support. Move common
|
||||||
structures to include/coff/xcoff.h. Move specific structure to
|
structures to include/coff/xcoff.h. Move specific structure to
|
||||||
backends coff-rs6000.c and coff64-rs6000.c. Use new backend
|
backends coff-rs6000.c and coff64-rs6000.c. Use new backend
|
||||||
functions, defined in libxcoff.h, to isolate 32/64 dependencies.
|
functions, defined in libxcoff.h, to isolate 32/64 dependencies.
|
||||||
|
|
||||||
(bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for
|
(bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for
|
||||||
aix4.2+ -binitfini.
|
aix4.2+ -binitfini.
|
||||||
|
|
||||||
(xcoff_build_ldsyms) : handle special __rtinit symbol.
|
(xcoff_build_ldsyms) : handle special __rtinit symbol.
|
||||||
|
@ -1906,49 +1906,12 @@ elf64_x86_64_finish_dynamic_sections (output_bfd, info)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Why was the hash table entry size definition changed from
|
|
||||||
* ARCH_SIZE/8 to 4? This breaks the 64 bit dynamic linker and
|
|
||||||
* this is the only reason for the elf64_x86_64_size_info structure.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const struct elf_size_info elf64_86_64_size_info =
|
|
||||||
{
|
|
||||||
sizeof (Elf64_External_Ehdr),
|
|
||||||
sizeof (Elf64_External_Phdr),
|
|
||||||
sizeof (Elf64_External_Shdr),
|
|
||||||
sizeof (Elf64_External_Rel),
|
|
||||||
sizeof (Elf64_External_Rela),
|
|
||||||
sizeof (Elf64_External_Sym),
|
|
||||||
sizeof (Elf64_External_Dyn),
|
|
||||||
sizeof (Elf_External_Note),
|
|
||||||
8, /* hash-table entry size */
|
|
||||||
1, /* internal relocations per external relocations */
|
|
||||||
64, /* arch_size */
|
|
||||||
8, /* file_align */
|
|
||||||
ELFCLASS64, EV_CURRENT,
|
|
||||||
bfd_elf64_write_out_phdrs,
|
|
||||||
bfd_elf64_write_shdrs_and_ehdr,
|
|
||||||
bfd_elf64_write_relocs,
|
|
||||||
bfd_elf64_swap_symbol_out,
|
|
||||||
bfd_elf64_slurp_reloc_table,
|
|
||||||
bfd_elf64_slurp_symbol_table,
|
|
||||||
bfd_elf64_swap_dyn_in,
|
|
||||||
bfd_elf64_swap_dyn_out,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
#define TARGET_LITTLE_SYM bfd_elf64_x86_64_vec
|
#define TARGET_LITTLE_SYM bfd_elf64_x86_64_vec
|
||||||
#define TARGET_LITTLE_NAME "elf64-x86-64"
|
#define TARGET_LITTLE_NAME "elf64-x86-64"
|
||||||
#define ELF_ARCH bfd_arch_i386
|
#define ELF_ARCH bfd_arch_i386
|
||||||
#define ELF_MACHINE_CODE EM_X86_64
|
#define ELF_MACHINE_CODE EM_X86_64
|
||||||
#define ELF_MAXPAGESIZE 0x100000
|
#define ELF_MAXPAGESIZE 0x100000
|
||||||
|
|
||||||
#define elf_backend_size_info elf64_86_64_size_info
|
|
||||||
|
|
||||||
#define elf_backend_can_gc_sections 1
|
#define elf_backend_can_gc_sections 1
|
||||||
#define elf_backend_want_got_plt 1
|
#define elf_backend_want_got_plt 1
|
||||||
#define elf_backend_plt_readonly 1
|
#define elf_backend_plt_readonly 1
|
||||||
|
Reference in New Issue
Block a user