aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2002-10-23 * dwarf2.c (add_line_info): Ensure that the line_info_table isAlan Modra2-20/+115
sorted even when given an out-of-order line sequence. (lookup_address_in_line_info_table): When an exact VMA match is not found, return line information with the closest VMA.
2002-10-23Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.Nick Clifton2-0/+10
2002-10-23daily updateAlan Modra1-1/+1
2002-10-22* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't moveAlexandre Oliva2-1/+12
the options section into a separate section unless IRIX 6 compatibility is enabled.
2002-10-22* elflink.h (struct elf_link_sort_rela): Turn rel and relaAlexandre Oliva3-34/+69
into arrays. (elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust. (elf_link_sort_relocs): Likewise. Take int_rels_per_ext_rel into account. * elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose R_MIPS_REL32 with R_MIPS64 if ABI_64_P.
2002-10-22daily updateAlan Modra1-1/+1
2002-10-21 * targets.c (_bfd_target_vector): Add missing qnx vectors.Alan Modra2-0/+8
2002-10-21 * targets.c (bfd_target_list): Don't return the default target twice.Alan Modra2-2/+9
2002-10-21 * archive.c (_bfd_archive_bsd_update_armap_timestamp): ReplaceAlan Modra2-6/+10
perror with bfd_perror.
2002-10-21daily updateAlan Modra1-1/+1
2002-10-20daily updateAlan Modra1-1/+1
2002-10-192002-10-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-16/+23
* elflink.h (elf_link_add_object_symbols): Correctly handle DT_RPATH and DT_RUNPATH. :VS: ----------------------------------------------------------------------
2002-10-19* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.Mark Kettenis2-2/+6
2002-10-19daily updateAlan Modra1-1/+1
2002-10-18daily updateAlan Modra1-1/+1
2002-10-17 * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine codeDenis Chertykov2-1/+6
for ip2k port.
2002-10-17 * elfxx-target.h (USE_REL): Don't define as 1.Alan Modra10-30/+51
* elf32-arm.h (USE_REL): Provide a default define of 0. Use #if rather than #ifdef when testing USE_REL. * elf32-m32r.c: Likewise. * elf32-arc.c (USE_REL): Define as 1. * elf32-d10v.c (USE_REL): Likewise. * elf32-m32r.c (USE_REL): Likewise. * elf32-m68hc11.c (USE_REL): Likewise. * elf32-m68hc12.c (USE_REL): Likewise. * elf32-or32.c (USE_REL): Likewise. * elfarm-nabi.c (USE_REL): Likewise.
2002-10-17daily updateAlan Modra1-1/+1
2002-10-16 * config.bfd (s390-*-linux*): Add targ64_selvecs.Jakub Jelinek2-0/+7
(s390x-*-linux*): Add targ_selvecs. * config.table: Use mh-s390pic for s390x too. * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. (s390-*-linux*): Add elf64_s390 emulation if want64. * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 genscript.sh changes. * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-16 * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,Alan Modra27-793/+553
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo, elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo, elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo. (BFD32_BACKENDS_CFILES): Likewise for corresponding C files. (BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo. (BFD64_BACKENDS_CFILES): Likewise for corresponding C files. (SOURCE_HFILES): Add elf32-qnx.h. (BUILD_HFILES): Add bfdver.h. Run "make dep-am". * Makefile.in: Regenerate. * configure.in Update bfd vector dependencies. * configure: Regenerate. * elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c. * elf32-i386qnx.c: Likewise. * elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c. * elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c. * elf32-sh-lin.c: Likewise. * elf32-shqnx.c: Likewise. * elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c. * elf32-sh64-nbsd.c: Likewise. * elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c. * elf64-sh64-nbsd.c: Likewise. * elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c. * elf32-arm.h (ELF_MAXPAGESIZE): Always define. * elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests. * elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests. * elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define. (elf_backend_is_contained_by_filepos): Likewise. (elf_backend_copy_private_bfd_data_p): Likewise. Globalize and move functions to.. * elf32-qnx.c: ..here. New file. * elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't emit target vectors when INCLUDE_SHMEDIA. * elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to end of file. * elf64-sh64.c: Remove ELF_ARCH test. * elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test. * po/BLD-POTFILES.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2002-10-16 * elflink.h (elf_link_add_object_symbols): Error out on dynamic objectsAlan Modra2-0/+10
loaded with --just-symbols.
2002-10-16 * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.Alan Modra5-4/+22
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. * elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. * elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
2002-10-16daily updateAlan Modra1-1/+1
2002-10-15 * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.Richard Henderson7-78/+50
(BFD64_BACKENDS_CFILES): Likewise. * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha. * elf64-alpha-fbsd.c: Remove file, move code ... * elf64-alpha.c: ... here. * Makefile.in, configure: Rebuild.
2002-10-15 * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: IncrementRichard Henderson2-1/+6
VALUE, not ADDEND.
2002-10-15daily updateAlan Modra1-1/+1
2002-10-14* elf32-sh.c (elf_sh_link_hash_entry): ReplaceStephen Clarke2-132/+306
datalabel_got_offset with union of datalabel_got offset and refcount. (sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount. (allocate_dynrelocs): Delete unnecessary code for STT_DATALABEL type. Create entry in got for datalabel version of symbol if datalabel_got.refcount > 0. (sh_elf_relocate_section): Use datalabel_got union. (sh_elf_gc_sweep_hook): Pull common code to initialize h and eh out of switch statement. Declare seen_stt_datalabel. Initialize it. Decrement datalabel_got.refcount for got relocs when seen_stt_datalabel is true. Decrement local_got_refcounts entry for datalabel got relocs of local symbols. (sh_elf_copy_indirect_symbol): Copy datalabel_got field over. (sh_elf_check_relocs): Declare seen_stt_datalabel. Initialize it. When seen_stt_datalabel is true, increment datalabel_got refcount rather than got.refcount. (sh_elf_finish_dynamic_symbol): Create relocs to initialize got entry for datalabel version of symbol.
2002-10-14 * Makefile.in: Regenerate.Alan Modra2-5/+7
2002-10-14 * Makefile.am: Run "make dep-am".Alan Modra11-273/+285
(BFD_H_FILES): Remove version.h. * bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move.. * version.h: ..to here. * configure.in (bfd_version_date): Remove. (AC_OUTPUT): Make bfdver.h from version.h. * bfd.c: #include "bfdver.h". * vms-hdr.c: Likewise. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2002-10-14 * archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086,Alan Modra3-50/+63
bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64, bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64, bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850, bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8, bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple, bfd_mach_ia64_elf64, bfd_mach_ia64_elf32, bfd_mach_ip2022, bfd_mach_ip2022ext, bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber. * bfd-in2.h: Regenerate.
2002-10-14 * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternativeKaz Kojima2-0/+7
endian vector to targ_selvecs.
2002-10-14daily updateAlan Modra1-1/+1
2002-10-13* elfxx-mips.c (mips_elf_calculate_relocation): TakeAlexandre Oliva2-9/+34
save_addend argument. Don't apply the 32-bit mask to a GPREL32 value if it's to be used in another relocation. Don't use forced-check computation of local_p to decide whether to add gp0 to GPREL16 value. Don't use only the lowest 16 bits of the addend of a non-in-place GPREL16 relocation. (_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to mips_elf_calculate_relocation().
2002-10-13daily updateAlan Modra1-1/+1
2002-10-12 * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocsStephane Carrez2-6/+45
with symbols in other sections if we relaxed something; the sections output offsets must be re-computed before.
2002-10-12 * elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbolsStephane Carrez2-70/+35
handling to use Elf_Internal_Sym. (m68hc11_elf_relax_delete_bytes): Likewise.
2002-10-12daily updateAlan Modra1-1/+1
2002-10-11 * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,Kaz Kojima3-26/+959
sh_elf_object_p, dtpoff_base): New functions. (sh_elf_howto_table): Add TLS relocs. (sh_reloc_map): Likewise. (sh_elf_info_to_howto): Support TLS relocs. (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32. (sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type): New macros. (sh_elf_obj_tdata): New. (elf_sh_link_hash_table): Add tls_ldm_got. (sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got. (allocate_dynrelocs): Support TLS relocs. (sh_elf_size_dynamic_sections): Likewise. (sh_elf_relocate_section): Support TLS relocs. Don't try to find .rela.got section when found already. Return false after printing error about unresolvable relocation. (sh_elf_gc_sweep_hook): Support TLS relocs. (sh_elf_check_relocs): Likewise. (sh_elf_finish_dynamic_symbol): Likewise. (bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case. * reloc.c: Add SH TLS relocs. * libbfd.h: Regenerate.
2002-10-11 * bfd-in2.h: Regenerate.Kaz Kojima2-0/+33
2002-10-11 * Makefile.am: Run dep-am.Daniel Jacobowitz5-9/+199
(BFD32_LIBS): Add simple.lo. (BFD32_LIBS_CFILES): Add simple.c. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * simple.c: New file.
2002-10-11 * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.Daniel Jacobowitz3-4/+13
* Makefile.in: Regenerated.
2002-10-11 * elf64-ppc.c (edit_opd): Correct local sym adjustment.Alan Modra2-3/+2
2002-10-11Fix numerous occurrences ofAlan Modra16-135/+179
warning: dereferencing type-punned pointer will break strict-aliasing rules
2002-10-11 * elf64-ppc.c (edit_opd): Only zero opd syms when function isAlan Modra2-1/+6
completely removed.
2002-10-11daily updateAlan Modra1-1/+1
2002-10-10* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):Stephen Clarke3-4/+11
Correct mistake in calculation of address of .got. * elf64-sh64.c (elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le): Likewise.
2002-10-10daily updateAlan Modra1-1/+1
2002-10-09* Makefile.am: Add entries for elf32-sh64-lin.c andStephen Clarke9-4/+116
elf64-sh64-lin.c. Regenerate. * Makefile.in: Regenerate. * config.bfd: Change sh64eb-*-linux* and sh64-*-linux* to use sh64 vectors rather than sh vectors. * configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. * configure: Regenerate. * elf32-sh64-lin.c: New file. * elf64-sh64-lin.c: New file. * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
2002-10-09daily updateAlan Modra1-1/+1
2002-10-082002-10-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-23/+32
* elf32-i386.c (elf_i386_relocate_section): Re-arrange the IE->LE transition for R_386_TLS_IE.