Andreas Jaeger
fd8ab9e538
(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.
2001-06-19 13:30:40 +00:00
Andreas Jaeger
cc78d0afbe
2001-06-07 Andreas Jaeger <aj@suse.de>
...
* 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-07 14:45:36 +00:00
Andreas Jaeger
80643fbcda
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
...
relocation, small reformatting.
2001-06-01 11:52:11 +00:00
Andreas Jaeger
6b3db54654
* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
...
(elf64_x86_64_relocate_section): Likewise.
2001-05-30 18:44:46 +00:00
Andreas Jaeger
de41dcd889
* 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 15:45:47 +00:00
Andreas Jaeger
6a2bda3fa0
* elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
...
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.
2001-04-30 10:30:05 +00:00
Andreas Jaeger
053579d754
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
...
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-29 13:42:45 +00:00
Andreas Jaeger
fe4770f478
2001-04-23 Bo Thorsen <bo@suse.de>
...
* 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-23 08:00:14 +00:00
Andreas Jaeger
653165cc0d
2001-04-19 Andreas Jaeger <aj@suse.de>
...
* 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-04-19 09:39:28 +00:00
Andreas Jaeger
bcdd92f3e0
2001-03-07 Andreas Jaeger <aj@suse.de>
...
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of
some relocation values.
2001-03-07 13:49:11 +00:00
Andreas Jaeger
5608e05bb4
2001-02-28 Andreas Jaeger <aj@suse.de>
...
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
to addend.
2001-02-28 12:32:10 +00:00
Andreas Jaeger
4a73f21b0c
2001-02-26 Andreas Jaeger <aj@suse.de>
...
* elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
2001-02-26 07:50:22 +00:00
Andreas Jaeger
05aa1441bb
2001-02-20 Andreas Jaeger <aj@suse.de>
...
* 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-20 08:01:32 +00:00
Andreas Jaeger
407443a31c
2001-02-14 Bo Thorsen <bo@suse.de>
...
* 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-14 10:57:47 +00:00
Jan Hubicka
51e0a107ce
2001-02-09 Bo Thorsen <bo@suse.de>
...
* 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 16:54:08 +00:00
Jan Hubicka
23df107806
* elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
...
* tc-i386.c (i386_displacement): Fix handling of
BFD_RELOC_X86_64_GOTPCREL.
(i386_validate_fix): Likewise.
2001-02-12 16:47:15 +00:00
Kazu Hirata
3fde5a36df
2001-01-23 Kazu Hirata <kazu@hxi.com>
...
* 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-23 20:27:54 +00:00
Andreas Jaeger
70256ad8ae
2001-01-22 Bo Thorsen <bo@suse.de>
...
* 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.
2001-01-23 10:49:50 +00:00
Kazu Hirata
8da6118f7b
2000-12-07 Kazu Hirata <kazu@hxi.com>
...
* elf32-ppc.c: Fix formatting.
* elf64-x86-64.c: Likewise.
2000-12-07 19:31:48 +00:00
Nick Clifton
8d88c4ca53
Add support for x86_64-*-linux-gnu* target
2000-11-30 19:16:54 +00:00