aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2002-11-04 * elflink.h (struct elf_final_link_info): Add shndxbuf_size.Alan Modra3-29/+63
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields. Set up a larger symshndxbuf, and write it out. Free it on exit rather than freeing symbuf twice. Correct section index on output section symbol loop. (elf_link_output_sym): Accumulate symbol extension section indices, reallocating symshndxbuf rather than writing it out. (elf_link_flush_output_syms): Don't flush symshndxbuf. * elf.c (assign_section_numbers): Init i_shdrp to all zero. Use bfd_zalloc to clear i_shdrp[0] too.
2002-11-04* elf32-sh64-com.c (sh64_address_in_cranges): UseStephen Clarke2-1/+6
_raw_size of cranges section if _cooked_size not yet set.
2002-11-03daily updateAlan Modra1-1/+1
2002-11-03 * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parametersHans-Peter Nilsson2-4/+9
for bfd_elf32_swap_symbol_out.
2002-11-02daily updateAlan Modra1-1/+1
2002-11-01daily updateAlan Modra1-1/+1
2002-10-312002-10-31 David O'Brien <obrien@FreeBSD.org>David O'Brien2-1/+6
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix signed and unsigned in comparison. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20021012185224.Y979@bubble.sa.bigpond.net.au>
2002-10-30 * coffcode.h: Remove extraneous '\'.Daniel Jacobowitz2-1/+5
2002-10-29daily updateAlan Modra1-1/+1
2002-10-282002-10-28 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+11
* Makefile.am (targets.lo): Depend on Makefile instead of config.status. (archures.lo): Likewise. * Makefile.in: Regenerated.
2002-10-27daily updateAlan Modra1-1/+1
2002-10-26daily updateAlan Modra1-1/+1
2002-10-26daily updateAlan Modra1-1/+1
2002-10-25* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): AddJason Thorpe2-2/+8
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to targ_selvecs.
2002-10-25Add some string section merging support.Jim Wilson2-0/+35
* elf64-sh64.c (sh_elf64_relocate_section): Call _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol of SHF_MERGE section.
2002-10-25 * simple.c: Correct placement of ATTRIBUTE_UNUSED.Hans-Peter Nilsson2-47/+41
2002-10-25Files missed in previous commit.Dave Anglin2-32/+71
2002-10-25 * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index toDave Anglin19-100/+167
unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to unsigned int. (NAME(aout,final_link)): Cast enum used in assignment. (aout_link_write_symbols): Cast enums in comparisons, int values to boolean, enums in assignments to int. (aout_link_input_section_std): Cast rel->r_index to unsigned int. (aout_link_input_section_ext): Likewise. Cast enums used in comparisons with unsigned ints. (aout_link_reloc_link_order): Cast enum to int in assignment. * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr calls to char *. * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in assignment. * bfd-in2.h (bfd_set_section_vma): Likewise. * bfd.c (bfd_record_phdr): Cast enums in assignments. * binary.c (bfd_alloc): Cast enum to long. * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. * dwarf2.c (read_abbrevs): Add casts to enum types. (read_attribute_value): Likewise. (arange_add): Cast result of bfd_zalloc call. (comp_unit_contains_address): Return true and false. (comp_unit_find_nearest_line): Cast return to boolean. * format.c (bfd_check_format_matches, bfd_set_format): Likewise. * gen-aout.c: define macro '_' if not defined. * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. (bfd_bwrite): Cast bfd_realloc to bfd_byte *. (bfd_write_bigendian_4byte_int): Cast return to boolean. (bfd_seek): Cast bfd_realloc to bfd_byte *. (bfd_generic_is_local_label_name): Cast return to boolean. * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (_bfd_generic_link_hash_newfunc): likewise. (_bfd_generic_final_link): Cast enum to unsigned int. * merge.c (sec_merge_emit): Cast return to boolean. (merge_strings): Add casts to const unsigned char *. * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (bfd_set_section_content): Add cast to PTR in comparison. * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, simple_dummy_unattached_reloc, bfd_simple_get_relocated_section_contents): Add K&R declarations and function definitions. * srec.c (S3Forced): Initialize to false. (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. * syms.c (bfd_is_undefined_symclass): Cast return to boolean. (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in comparisons.
2002-10-25daily updateAlan Modra1-1/+1
2002-10-24daily updateAlan Modra1-1/+1
2002-10-23 * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamicJakub Jelinek2-1/+6
relocs into shared lib non-allocated reloc sections.
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.