summaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
Commit message (Collapse)AuthorAgeFilesLines
* * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entriesJeff Law1999-09-101-8/+96
| | | | for FPTR relocs involving local symbols.
* * elf-hppa.h (elf_hppa_final_link_relocate): Get the rightJeff Law1999-09-101-3/+23
| | | | | | value for the stub address in a call through a stub. Install the value for a local symbol directly into the DLT instead of generating a reloc. Correctly handle FPTR64 relocs.
* * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.Jeff Law1999-09-101-2/+96
| | | | | (elf_hppa_remark_useless_dynamic_symbols): Similarly. (elf_hppa_final_link): Call them.
* Update some comments.Jeff Law1999-09-091-3/+1
|
* * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DRJeff Law1999-09-091-5/+57
| | | | | | | relocation, remove them. SECREL64->LTOFF16WF. (elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle DIR* relocations. (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.Jeff Law1999-09-091-2/+38
| | | | (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* andJeff Law1999-09-091-3/+32
| | | | | GPREL* relocations. (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.Jeff Law1999-09-091-11/+31
| | | | | Handle LTOFF_TP* relocs. (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.Jeff Law1999-09-091-12/+106
| | | | | Consistently deal with addends. Handle DLTIND14F and DLTREL14F. (elf_hppa_relocate_insn): Handle PCREL* relocs.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,Jeff Law1999-09-091-5/+52
| | | | | DIR32, DIR64 and FPTR64 relocations. (elf_hppa_relocate_insn): Similarly.
* Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com)Jeff Law1999-09-091-516/+443
| | | | | | | | | | | | | | | | | | | | | | * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the address of the .PARISC.global section. (elf_hppa_relocate_section): Lookup and pass the PA64 hash table entry elf_hppa_final_link_relocate. Do not give a warning for a reloc against an external symbol if it has a PA64 hash table entry. (elf_hppa_final_link_relocate): Significantly rework. Handle DLTIND relocations. Compute the final value of the relocation before passing the value of elf_hppa_relocate_insn. (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling relocation support. Handle DLTIND relocation requests just like DLTREL relocation requests. Simplify branch handling. 1999-09-08 Ulrich Drepper <drepper@cygnus.com> * elf-hppa.h (elf_hppa_relocate_section): Catch problems with non-allocated section as done in i386 version. (elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch statement since this is no know relocation.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14FJeff Law1999-09-081-0/+2
| | | | | relocs. (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR andJeff Law1999-09-081-4/+61
| | | | | DLTREL14WD relocs. (elf_hppa_relocate_insn): Similarly.
* * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R andJeff Law1999-09-081-9/+81
| | | | | | | | DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn. Pass the relocate type rather than the insn format to elf_hppa_relocate_insn. (elf_hppa_relocate_insn): Make switch dependent on relocation type rather than the opcode. Handle DLTREL21L and DLTREL14R relocs.
* Fix minor typos introduced while cleaning up the previous patch.Jeff Law1999-09-011-4/+4
|
* * elf-hppa.h (elf_hppa_add_symbol_hook): New function.Jeff Law1999-09-011-0/+540
| | | | | (elf_hppa_final_link, elf_hppa_relocate_section): Likewise. (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise.
* * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow bothJeff Law1999-08-301-1/+5
| | | | | | R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the tools were configured. * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare.
* * elf-hppa.h (elf_hppa_fake_sections): Compute section indicesJeff Law1999-08-201-4/+16
| | | | here instead of using elf_section_data...
* Fix typo.Jeff Law1999-08-111-1/+1
|
* * elf-hppa.h (elf_hppa_fake_sections): New function.Jeff Law1999-08-111-0/+30
| | | | * elf32-hppa.c (elf_backend_fake_sections): Define.
* * elf-hppa.h (elf_hppa_final_write_processing): Update forJeff Law1999-08-101-7/+3
| | | | recent changes to the arch_info structure.
* * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): HandleJeff Law1999-08-101-0/+5
| | | | | | R_HPPA_SEGBASE and R_HPPA_SEGREL32. * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info list.
* * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When inJeff Law1999-08-091-0/+16
| | | | | | | | 64bit mode, generate a section relative relocation for a 32bit wide relocation. (elf_hppa_is_local_label_name): New function. * elf32-hppa.c (elf_hppa_is_local_label_name): Deleted. To be shared between 32bit and 64bit port.
* * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpselJeff Law1999-08-051-0/+8
| | | | and 14bit ertpsel. Handle 64bit psel.
* èJeff Law1999-07-151-3/+18
| | | | | | | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case R_HPPA): Handle 64bit format. (_bfd_elf_hppa_gen_reloc_type, case R_GOTOFF): Use base reloc type to derive final type instead of hardwiring a selection.
* * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1999-07-121-262/+261
| | | | | | | | | | | | | | | | | | | | | as appropriate. Use EMPTY_HOWTO as appropriate. Fill in structure initializations. Add casts. * reloc.c (EMPTY_HOWTO): Define. * bfd-in2.h: Rebuild. * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless comparisons against 0. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change previous_ibfd_e_flags to unsigned long. * vms.h (struct vms_private_data_struct): Change section_count to unsigned. * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. (_bfd_vms_write_gsd): Change symnum to unsigned. * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. * vms-tir.c (etir_sta): Change psect to unsigned. (alloc_section): Change idx to unsigned. (tir_sta, tir_ctl): Change psect to unsigned. (_bfd_vms_write_tir): Change len and before to bfd_size_type. * vms.c (priv_section_count): Change to unsigned.
* èJeff Law1999-07-061-3/+3
| | | | | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): T mode selectors need to generate DLTIND relocations, not DLTREL relocations.
* XJeff Law1999-07-011-0/+11
| | | | | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL with 22bit format.
* èJeff Law1999-06-291-218/+218
| | | | | | * elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as relocation function. * elf32-hppa.c (hppa_elf_reloc): Kill unused/unwanted function.
* *** empty log message ***Jeff Law1999-06-241-0/+26
|
* * elf-hppa.h: New file. Common stuff for elf32 and elf64 PAJeff Law1999-06-221-0/+547
support. * elf32-hppa.c: Include elf-hppa.h. (ARCH_SIZE): Define. (elf_hppa_reloc_type_lookup): Delete. Found in the common code now. (elf32_hppa_info_to_howto): Similarly. (elf_hppa_howto_table): Similarly. (elf_hppa_reloc_type_lookup): Similarly. (hppa_elf_gen_reloc_type): Similarly. * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete.