summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2003-11-281-1/+1
|
* * cpu-z8k.c: Convert to ISO C90.Christian Groessler2003-11-283-156/+20
| | | | * coff-z8k.c: Likewise.
* daily updateAlan Modra2003-11-271-1/+1
|
* * elf32-arm.h: Fix comment typos.Kazu Hirata2003-11-2729-75/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-d30v.c: Likewise. * elf32-dlx.c: Likewise. * elf32-h8300.c: Likewise. * elf32-i370.c: Likewise. * elf32-ip2k.c: Likewise. * elf32-m68hc11.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-v850.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-mips.c: Likewise. * elf64-mmix.c: Likewise. * elf64-ppc.c: Likewise. * elf64-sparc.c: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elfn32-mips.c: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise.
* * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):Alexandre Oliva2003-11-2710-17/+37
| | | | | | | | | | | | | Add link info argument. * elf32-i370.c (elf_backend_modify_segment_map): Likewise. * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise. * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise. * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise. * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise. * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise. * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise. * elf.c (assign_file_positions_except_relocs, assign_file_positions_for_segments): Likewise. Adjust calls.
* * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection outMark Kettenis2003-11-272-1/+7
| | | | of the note.
* daily updateAlan Modra2003-11-261-1/+1
|
* * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.Richard Sandiford2003-11-262-35/+66
| | | | | | | | | (mips_elf_set_no_stub): New function. (mips_elf_multi_got): Call it. (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and use mips_elf_create_dynamic_relocation to deal with any compatibility issues. Store the adjusted addend in the GOT slot.
* daily updateAlan Modra2003-11-251-1/+1
|
* Skip N_EXCL stabs when procesing N_BINCL stabs.Nick Clifton2003-11-252-12/+19
|
* * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other thanAlan Modra2003-11-252-2/+8
| | | | ppc_stub_plt_call to symbols defined in shared libs.
* daily updateAlan Modra2003-11-241-1/+1
|
* * aix5ppc-core.c: Fix comment typos.Kazu Hirata2003-11-2424-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | * aout-arm.c: Likewise. * aout-ns32k.c: Likewise. * aoutx.h: Likewise. * archures.c: Likewise. * bfd-in.h: Likewise. * bfd.c: Likewise. * bfdio.c: Likewise. * coff-arm.c: Likewise. * coff-h8300.c: Likewise. * coff-i860.c: Likewise. * coff-m88k.c: Likewise. * coff-mcore.c: Likewise. * coff-ppc.c: Likewise. * coff-rs6000.c: Likewise. * coff-z8k.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * cofflink.c: Likewise. * cpu-alpha.c: Likewise. * cpu-arm.c: Likewise. * cpu-ns32k.c: Likewise. * dwarf2.c: Likewise. * bfd-in2.h: Regenerate.
* daily updateAlan Modra2003-11-231-1/+1
|
* daily updateAlan Modra2003-11-221-1/+1
|
* 2003-11-22 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2003-11-224-4/+25
| | | | | | | | | * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag. * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. (elf_i386_check_relocs): Set it. (elf_i386_finish_dynamic_symbol): If it is not set, clear st_value of SHN_UNDEF symbol.
* daily updateAlan Modra2003-11-211-1/+1
|
* daily updateAlan Modra2003-11-201-1/+1
|
* * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPCJim Blandy2003-11-202-1/+6
| | | | family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
* * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbolMartin Schwidefsky2003-11-203-24/+28
| | | | | | | section for reloc output and subtract the output section's address from the addend when converting a relocation into one against a section symbol. * elf64-s390.c (elf_s390_relocate_section): Likewise.
* daily updateAlan Modra2003-11-191-1/+1
|
* Fix -pie core dump with .rela.opd section.Jim Wilson2003-11-192-2/+17
| | | | | | | | | | bfd/ChangeLog * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd. (elfNN_ia64_size_dynamic_sections): When stripping sections, check for ia64_info->rel_fptr_sec. ld/ChangeLog * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include .rela.opd if -pie.
* daily updateAlan Modra2003-11-181-1/+1
|
* * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if sectionAlan Modra2003-11-182-0/+8
| | | | size is zero.
* daily updateAlan Modra2003-11-171-1/+1
|
* * elf.c (_bfd_elf_link_hash_copy_indirect): CopyDaniel Jacobowitz2003-11-1712-32/+40
| | | | | | | | | | | | | | | ELF_LINK_HASH_NEEDS_PLT. Fix formatting. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove. (elf_backend_copy_indirect_symbol): Don't define.
* daily updateAlan Modra2003-11-161-1/+1
|
* * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for localDaniel Jacobowitz2003-11-142-2/+7
| | | | GOT entries.
* Fix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.Martin Schwidefsky2003-11-141-2/+2
|
* * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32Martin Schwidefsky2003-11-133-6/+83
| | | | | | | | to R_390_RELAVITE. Convert the other relocations against local symbols to relocations against the start of the section. * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64 to R_390_RELAVITE. Convert the other relocations against local symbols to relocations against the start of the section.
* daily updateAlan Modra2003-11-111-1/+1
|
* Fix decision about when a .interp section should existNick Clifton2003-11-1112-11/+27
|
* daily updateAlan Modra2003-11-101-1/+1
|
* Add initial support for TLS sections in PE format files.Nick Clifton2003-11-102-3/+22
|
* daily updateAlan Modra2003-11-091-1/+1
|
* daily updateAlan Modra2003-11-081-1/+1
|
* daily updateAlan Modra2003-11-071-1/+1
|
* daily updateAlan Modra2003-11-061-1/+1
|
* * elf32-ppc.c (ppc_elf_install_value): Delete.Alan Modra2003-11-062-197/+187
| | | | | | | | | | | | | (shared_stub_entry, stub_entry): Make them arrays of ints. Remove initial branch. (ppc_elf_relax_section): Write one branch around all trampolines instead. Correct bogus R_PPC_PLTREL24 handling. Correct branch range check. Only use shared_stub_entry when shared. Test that branches can reach stubs. Write trampolines out at end so that just one realloc is used. Handle little-endian mode. Move relevant code from ppc_elf_install_value to here. (ppc_elf_relocate_section): Move code handling RELAX32 from ppc_elf_install_value to here.
* * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.Alan Modra2003-11-062-20/+50
| | | | | | | | (ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate cases. (shared_stub_entry): Correct opcode. (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs. (ppc_elf_relocate_section): Handle them.
* daily updateAlan Modra2003-11-051-1/+1
|
* * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and returnAlan Modra2003-11-0536-153/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updated section in case of merged section. * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration. * elf-hppa.h (elf_hppa_relocate_section): Adjust call. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section) Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol section for reloc output. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value return value. * elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check sec->id.
* * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.Alan Modra2003-11-052-11/+112
| | | | | (elf32_d10v_relocate_section): Use them to handle -r reloc adjustments, and in place of _bfd_elf_rela_local_sym.
* * cpu-iq2000.c (arch_info_struct): Warning fix.Alan Modra2003-11-042-15/+18
|
* * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.Alan Modra2003-11-042-36/+81
| | | | | | | | | | | | | (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on weakdefs. (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS. (elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef NON_GOT_REF. (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with non-default visibility. (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and SYMBOL_CALLS_LOCAL.
* daily updateAlan Modra2003-11-041-1/+1
|
* * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.Alan Modra2003-11-0433-34/+44
| | | | | | | | | * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.
* * elf-m10300.c (_bfd_mn10300_elf_create_got_section): FixAlan Modra2003-11-042-9/+14
| | | | "dereferencing type-punned pointer" warnings.
* * aout-adobe.c (aout_adobe_set_section_contents): Constify location.Alan Modra2003-11-0438-85/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aoutx.h (NAME(aout,set_section_contents)): Ditto. * bfd-in2.h: Regenerate. * binary.c (binary_set_section_contents): Ditto. * bout.c (b_out_set_section_contents): Ditto. * coff-tic54x.c (tic54x_set_section_contents): Ditto. * coffcode.h (coff_set_section_contents): Ditto. * ecoff.c (_bfd_ecoff_set_section_contents): Ditto. * elf-bfd.h (_bfd_elf_set_section_contents): Ditto. * elf.c (_bfd_elf_set_section_contents): Ditto. * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto. * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto. * i386msdos.c (msdos_set_section_contents): Ditto. * ieee.c (ieee_set_section_contents): Ditto. * ihex.c (ihex_set_section_contents): Ditto. * libaout.h (NAME(aout,set_section_contents)): Ditto. * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto. (_bfd_generic_set_section_contents): Ditto. * libbfd.h: Regenerate. * libbfd.c (_bfd_generic_set_section_contents): Ditto. * libecoff.h (_bfd_ecoff_set_section_contents): Ditto. * libnlm.h (nlmNAME(set_section_contents)): Ditto. (struct nlm_backend_data <nlm_mangle_relocs>): Ditto. * mmo.c (mmo_set_section_contents): Ditto. * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto. * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto. * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto. * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto. * nlmcode.h (nlm_set_section_contents): Ditto. * oasys.c (oasys_set_section_contents): Ditto. * pdp11.c (NAME(aout,set_section_contents)): Ditto. * ppcboot.c (ppcboot_set_section_contents): Ditto. * srec.c (srec_set_section_contents): Ditto. * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto. * tekhex.c (tekhex_set_section_contents): Ditto. (move_section_contents): Ditto. * versados.c (versados_set_section_contents): Ditto. * vms-misc.c (_bfd_save_vms_section): Ditto. * vms.c (vms_set_section_contents): Ditto. * vms.h (_bfd_save_vms_section): Ditto.
* * elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info argAlan Modra2003-11-042-2/+28
| | | | | | | rather than htab. (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal. Zero relbrlt size. (ppc64_elf_build_stubs): Allocate space for relbrlt.
OpenPOWER on IntegriCloud