aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
AgeCommit message (Collapse)AuthorFilesLines
2000-03-012000-03-01 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+7
* aoutx.h (aout_link_input_section_std): Pass "true" to the undefined_symbol callback. (aout_link_input_section_ext): Likewise. * bout.c (get_value): Likewise. * coff-a29k.c (coff_a29k_relocate_section): Likewise. * coff-alpha.c (alpha_ecoff_get_relocated_section_conten): Likewise. (alpha_relocate_section): Likewise. * coff-arm.c (coff_arm_relocate_section): Likewise. * coff-i960.c (coff_i960_relocate_section): Likewise. * coff-mcore.c (coff_mcore_relocate_section): Likewise. * coff-mips.c (mips_relocate_section): Likewise. * coff-ppc.c (coff_ppc_relocate_section): Likewise. * coff-sh.c (sh_relocate_section): Likewise. * coff-tic80.c (coff_tic80_relocate_section): Likewise. * cofflink.c (_bfd_coff_generic_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. * elflink.h (elf_link_output_extsym): Likewise. * pe-mips.c (coff_pe_mips_relocate_section): Likewise. * reloc.c (bfd_generic_get_relocated_section_conten): Likewise. * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the undefined_symbol callback when building shared library with -Bsymbolic and undefined symbols are allowed. Otherwise, pass "true". * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mips.c (mips_elf_calculate_relocation): Likewise. (elf32_mips_get_relocated_section_content): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
1999-09-16 * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.Jeff Law1-1/+7
1999-09-16 * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in theJeff Law1-9/+50
symbol table, then just compute a suitable value (but do not create a __gp symbol).
1999-09-16 * elf-hppa.h (elf_hppa_relocate_section): Allow undefinedJeff Law1-8/+31
symbols when building shared libraries. (elf_hppa_final_link_relocate): Correct handling of PCREL relocations against undefined symbols.
1999-09-15 * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.Jeff Law1-32/+50
(elf_hppa_final_link_relocate): Consistently create an absolute address, then subtract out the value of __gp.
1999-09-14 * elf-hppa.h (elf_hppa_record_segment_addrs): New function.Jeff Law1-8/+61
(elf_hppa_final_link): Initialize text_segment_base and data_segment_base. (elf_hppa_final_link_relocate): Handle SEGREL relocations.
1999-09-14 * elf-hppa.h (elf_hppa_final_link): Remove unused variables.Jeff Law1-11/+1
(elf_hppa_final_link_relocate): Likewise. (elf_hppa_relocate_insn): Likewise. (elf_hppa_relocate_section): Initialize HOWTO.
1999-09-13 * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.Jeff Law1-9/+12
Stub SEGREL32. Return an error for any relocation not handled.
1999-09-10 * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entriesJeff Law1-8/+96
for FPTR relocs involving local symbols.
1999-09-10 * elf-hppa.h (elf_hppa_final_link_relocate): Get the rightJeff Law1-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.
1999-09-10 * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.Jeff Law1-2/+96
(elf_hppa_remark_useless_dynamic_symbols): Similarly. (elf_hppa_final_link): Call them.
1999-09-09Update some comments.Jeff Law1-3/+1
1999-09-09 * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DRJeff Law1-5/+57
relocation, remove them. SECREL64->LTOFF16WF. (elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle DIR* relocations. (elf_hppa_relocate_insn): Similarly.
1999-09-09 * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.Jeff Law1-2/+38
(elf_hppa_relocate_insn): Similarly.
1999-09-09 * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* andJeff Law1-3/+32
GPREL* relocations. (elf_hppa_relocate_insn): Similarly.
1999-09-09 * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.Jeff Law1-11/+31
Handle LTOFF_TP* relocs. (elf_hppa_relocate_insn): Similarly.
1999-09-09 * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.Jeff Law1-12/+106
Consistently deal with addends. Handle DLTIND14F and DLTREL14F. (elf_hppa_relocate_insn): Handle PCREL* relocs.
1999-09-09 * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,Jeff Law1-5/+52
DIR32, DIR64 and FPTR64 relocations. (elf_hppa_relocate_insn): Similarly.
1999-09-09Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com)Jeff Law1-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.
1999-09-08 * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14FJeff Law1-0/+2
relocs. (elf_hppa_relocate_insn): Similarly.
1999-09-08 * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR andJeff Law1-4/+61
DLTREL14WD relocs. (elf_hppa_relocate_insn): Similarly.
1999-09-08 * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R andJeff Law1-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.
1999-09-01Fix minor typos introduced while cleaning up the previous patch.Jeff Law1-4/+4
1999-09-01 * elf-hppa.h (elf_hppa_add_symbol_hook): New function.Jeff Law1-0/+540
(elf_hppa_final_link, elf_hppa_relocate_section): Likewise. (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise.
1999-08-30 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow bothJeff Law1-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.
1999-08-20 * elf-hppa.h (elf_hppa_fake_sections): Compute section indicesJeff Law1-4/+16
here instead of using elf_section_data...
1999-08-11Fix typo.Jeff Law1-1/+1
1999-08-11 * elf-hppa.h (elf_hppa_fake_sections): New function.Jeff Law1-0/+30
* elf32-hppa.c (elf_backend_fake_sections): Define.
1999-08-10 * elf-hppa.h (elf_hppa_final_write_processing): Update forJeff Law1-7/+3
recent changes to the arch_info structure.
1999-08-10 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): HandleJeff Law1-0/+5
R_HPPA_SEGBASE and R_HPPA_SEGREL32. * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info list.
1999-08-09 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When inJeff Law1-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.
1999-08-05 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpselJeff Law1-0/+8
and 14bit ertpsel. Handle 64bit psel.
1999-07-15èJeff Law1-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.
1999-07-12 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-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.
1999-07-06èJeff Law1-3/+3
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): T mode selectors need to generate DLTIND relocations, not DLTREL relocations.
1999-07-01XJeff Law1-0/+11
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL with 22bit format.
1999-06-29èJeff Law1-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.
1999-06-24*** empty log message ***Jeff Law1-0/+26
1999-06-22 * elf-hppa.h: New file. Common stuff for elf32 and elf64 PAJeff Law1-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.