aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-11-30 * ChangeLog: Fix typos.Kazu Hirata31-74/+74
* ecoff.c: Fix comment typos. * ecofflink.c: Likewise. * format.c: Likewise. * hp300hpux.c: Likewise. * i386linux.c: Likewise. * ieee.c: Likewise. * m68klinux.c: Likewise. * mach-o.h: Likewise. * mipsbsd.c: Likewise. * oasys.c: Likewise. * opncls.c: Likewise. * peXXigen.c: Likewise. * reloc.c: Likewise. * reloc16.c: Likewise. * section.c: Likewise. * simple.c: Likewise. * som.c: Likewise. * som.h: Likewise. * sparclinux.c: Likewise. * srec.c: Likewise. * syms.c: Likewise. * targets.c: Likewise. * tekhex.c: Likewise. * versados.c: Likewise. * vms-gsd.c: Likewise. * vms-hdr.c: Likewise. * vms-misc.c: Likewise. * xcofflink.c: Likewise. * xsym.h: Likewise. * bfd-in2.h: Regenerate.
2003-11-28daily updateAlan Modra1-1/+1
2003-11-28 * cpu-z8k.c: Convert to ISO C90.Christian Groessler3-156/+20
* coff-z8k.c: Likewise.
2003-11-27daily updateAlan Modra1-1/+1
2003-11-27 * elf32-arm.h: Fix comment typos.Kazu Hirata29-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.
2003-11-27* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):Alexandre Oliva10-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.
2003-11-27* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection outMark Kettenis2-1/+7
of the note.
2003-11-26daily updateAlan Modra1-1/+1
2003-11-26 * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.Richard Sandiford2-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.
2003-11-25daily updateAlan Modra1-1/+1
2003-11-25Skip N_EXCL stabs when procesing N_BINCL stabs.Nick Clifton2-12/+19
2003-11-25 * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other thanAlan Modra2-2/+8
ppc_stub_plt_call to symbols defined in shared libs.
2003-11-24daily updateAlan Modra1-1/+1
2003-11-24 * aix5ppc-core.c: Fix comment typos.Kazu Hirata24-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.
2003-11-23daily updateAlan Modra1-1/+1
2003-11-22daily updateAlan Modra1-1/+1
2003-11-222003-11-22 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek4-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.
2003-11-21daily updateAlan Modra1-1/+1
2003-11-20daily updateAlan Modra1-1/+1
2003-11-20* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPCJim Blandy2-1/+6
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
2003-11-20 * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbolMartin Schwidefsky3-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.
2003-11-19daily updateAlan Modra1-1/+1
2003-11-19Fix -pie core dump with .rela.opd section.Jim Wilson2-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.
2003-11-18daily updateAlan Modra1-1/+1
2003-11-18 * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if sectionAlan Modra2-0/+8
size is zero.
2003-11-17daily updateAlan Modra1-1/+1
2003-11-17 * elf.c (_bfd_elf_link_hash_copy_indirect): CopyDaniel Jacobowitz12-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.
2003-11-16daily updateAlan Modra1-1/+1
2003-11-14 * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for localDaniel Jacobowitz2-2/+7
GOT entries.
2003-11-14Fix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.Martin Schwidefsky1-2/+2
2003-11-13 * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32Martin Schwidefsky3-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.
2003-11-11daily updateAlan Modra1-1/+1
2003-11-11Fix decision about when a .interp section should existNick Clifton12-11/+27
2003-11-10daily updateAlan Modra1-1/+1
2003-11-10Add initial support for TLS sections in PE format files.Nick Clifton2-3/+22
2003-11-09daily updateAlan Modra1-1/+1
2003-11-08daily updateAlan Modra1-1/+1
2003-11-07daily updateAlan Modra1-1/+1
2003-11-06daily updateAlan Modra1-1/+1
2003-11-06 * elf32-ppc.c (ppc_elf_install_value): Delete.Alan Modra2-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.
2003-11-06 * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.Alan Modra2-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.
2003-11-05daily updateAlan Modra1-1/+1
2003-11-05 * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and returnAlan Modra36-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.
2003-11-05 * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.Alan Modra2-11/+112
(elf32_d10v_relocate_section): Use them to handle -r reloc adjustments, and in place of _bfd_elf_rela_local_sym.
2003-11-04 * cpu-iq2000.c (arch_info_struct): Warning fix.Alan Modra2-15/+18
2003-11-04 * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.Alan Modra2-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.
2003-11-04daily updateAlan Modra1-1/+1
2003-11-04 * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.Alan Modra33-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.
2003-11-04 * elf-m10300.c (_bfd_mn10300_elf_create_got_section): FixAlan Modra2-9/+14
"dereferencing type-punned pointer" warnings.
2003-11-04 * aout-adobe.c (aout_adobe_set_section_contents): Constify location.Alan Modra38-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.