aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
AgeCommit message (Collapse)AuthorFilesLines
2001-09-20coordinate info->symbolic and info->allow_shlib_undefinedNick Clifton1-1/+3
2001-09-18Touches most files in bfd/, so likely will be blamed for everything..Alan Modra1-23/+27
o bfd_read and bfd_write lose an unnecessary param and become bfd_bread and bfd_bwrite. o bfd_*alloc now all take a bfd_size_type arg, and will error if size_t is too small. eg. 32 bit host, 64 bit bfd, verrry big files or bugs in linker scripts etc. o file_ptr becomes a bfd_signed_vma. Besides matching sizes with various other types involved in handling sections, this should make it easier for bfd to support a 64 bit off_t on 32 bit hosts that provide it. o I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*) generally available. They now cast their args to bfd_vma and bfd_byte * as appropriate, which removes a swag of casts from the source. o Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and aout-encap.c. o Zillions of formatting and -Wconversion fixes.
2001-08-23 * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL ifAndreas Jaeger1-27/+25
the reloc is against read-only section. (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf64_x86_64_reloc_type_class): New. (elf_backend_reloc_type_class): Define.
2001-08-10 * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.Andreas Jaeger1-1/+12
Add prototypes where needed.
2001-06-21 * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking ofAndreas Jaeger1-13/+7
shared libraries.
2001-06-19(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.Andreas Jaeger1-23/+50
2001-06-072001-06-07 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-9/+15
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an assertion. (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an alignment of 8 for .rela sections; handle further relocations.
2001-06-01 * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8Andreas Jaeger1-9/+12
relocation, small reformatting.
2001-05-30 * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.Andreas Jaeger1-0/+2
(elf64_x86_64_relocate_section): Likewise.
2001-05-28 * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use theAndreas Jaeger1-37/+0
generic version since we want a hashsize of 4. (elf_backend_size_info): Likewise.
2001-04-30 * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test forAndreas Jaeger1-5/+5
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.
2001-04-29 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swapAndreas Jaeger1-87/+56
out handled entries. (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries. (elf64_x86_64_relocate_section): Fix GOTPCREL calculation. (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and GOT32.
2001-04-232001-04-23 Bo Thorsen <bo@suse.de>Andreas Jaeger1-28/+84
* x86-64.h: Add vtable support. 2001-04-23 Bo Thorsen <bo@suse.de> * elf64-x86-64.c: Add c++ vtable hack. Small whitespace and comment changes.
2001-04-192001-04-19 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-12/+47
* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. (elf64_x86_64_plt_entry): Likewise. (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
2001-03-072001-03-07 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-1/+35
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of some relocation values.
2001-02-282001-02-28 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-3/+3
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation to addend.
2001-02-262001-02-26 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-2/+2
* elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
2001-02-202001-02-20 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-0/+7
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make PLT entries that could serve as a definition for a weak symbol.
2001-02-142001-02-14 Bo Thorsen <bo@suse.de>Andreas Jaeger1-95/+149
* elf64-x86-64.c: Small formatting fixes and rearrangements of code. (elf64_86_64_size_info): Struct added to fix a problem with the hashtable string entries. (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. (elf64_x86_64_size_dynamic_sections): A FIXME removed. (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and remove the FIXME for this. (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt section. Also removed the FIXME for it. (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
2001-02-122001-02-09 Bo Thorsen <bo@suse.de>Jan Hubicka1-9/+80
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section alignment to 3. (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry and relocation. (elf64_x86_64_relocate_section): Fix formatting. (elf64_x86_64_relocate_section): Fix addend for relocation of R_X86_64_(8|16|32|PC8|PC16|PC32).
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka1-1/+1
* tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-1/+0
* aoutx.h: Fix formatting. * bfd.c: Likewise. * bfd-in2.h: Likewise. * bfd-in.h: Likewise. * cpu-i386.c: Likewise. * cpu-m68hc11.c: Likewise. * dwarf2.c: Likewise. * elf64-x86-64.c: Likewise. * format.c: Likewise. * freebsd.h: Likewise. * hash.c: Likewise. * hp300hpux.c: Likewise. * hppabsd-core.c: Likewise. * hpux-core.c: Likewise.
2001-01-232001-01-22 Bo Thorsen <bo@suse.de>Andreas Jaeger1-48/+1453
* elf64-x86-64.c: Added PIC support for X86-64. (elf64_x86_64_link_hash_newfunc): Function added. (elf64_x86_64_link_hash_table_create): Likewise. (elf64_x86_64_check_relocs): Likewise. (elf64_x86_64_gc_mark_hook): Likewise. (elf64_x86_64_gc_sweep_hook): Likewise. (elf64_x86_64_adjust_dynamic_symbol): Likewise. (elf64_x86_64_size_dynamic_sections): Likewise. (elf64_x86_64_discard_copies): Likewise. (elf64_x86_64_finish_dynamic_symbol): Likewise. (elf64_x86_64_finish_dynamic_sections): Likewise. (elf64_x86_64_relocate_section): Add relocation of PIC sections.
2000-12-072000-12-07 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-107/+102
* elf32-ppc.c: Fix formatting. * elf64-x86-64.c: Likewise.
2000-11-30Add support for x86_64-*-linux-gnu* targetNick Clifton1-0/+353