aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1999-06-19 * elflink.h (elf_link_remove_section_and_adjust_dynindices):Ian Lance Taylor2-2/+8
Remove unused local variable spp.
1999-06-19 * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't crash ifIan Lance Taylor1-5/+10
the entry symbol is not set.
1999-06-18 * elf64-alpha.c (elf64_alpha_relocate_section): Don't adjustRichard Henderson2-0/+11
GPDISP or LITUSE in a relocatable link.
1999-06-17 * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc.Joern Rennecke2-4/+9
* (alloc_dwarf1_func): Likewise.
1999-06-16 * libhppa.h: Fix various formatting errors.Jeff Law2-61/+48
(assemble_3); Rewrite using CATENATE. (assemble_17): Fix various bugs.
1999-06-16Fix definition of R_MCORE_NONE relocNick Clifton2-6/+10
1999-06-15 * section.c (SEC_SHORT): Define.Richard Henderson3-0/+13
* bfd-in2.h: Rebuild.
1999-06-13remove duplicate entry, add missing blank lineIan Lance Taylor1-4/+1
1999-06-13 * elflink.h (elf_link_remove_section_and_adjust_dynindices):Mark Mitchell2-18/+10
Remove abfd parameter. Use _bfd_strip_section_from_output. (bfd_elf_size_dynamic_sections): Adjust callers accordingly.
1999-06-13 * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function.Mark Mitchell4-34/+83
* elflink.c (_bfd_elf_link_adjust_dynindx): Define it. * elflink.h (elf_link_remove_section_and_adjust_dynindices): New function. (bfd_elf_size_dynamic_sections): Use it.
1999-06-131999-06-13 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor2-1/+6
* elf32-i386.c (elf_howto_table): Change R_386_PC8 from complain_overflow_bitfield to complain_overflow_signed.
1999-06-13 * elflink.h (elf_link_read_relocs_from_section): New function,Mark Mitchell2-41/+91
split out from ... (elf_link_read_relocs): Here. Use it for both relocation sections.
1999-06-12 * elfcode.h (elf_slurp_reloc_table_from_section): Don't assumeMark Mitchell2-2/+13
asect->reloc_count is valid.
1999-06-12 * elf32-mips.c (mips_elf32_section_processing): Permit aIan Lance Taylor2-1/+7
SHT_MIPS_REGINFO section to have a size of 0.
1999-06-121999-06-12 David O'Brien <obrien@freebsd.org>Ian Lance Taylor2-3/+13
* config.bfd (alpha*-*-freebsd*): New target. (i[3456]86-*-freebsd*): Now defaults to ELF.
1999-06-11 * reloc.c (_bfd_relocate_contents): Permit bitfield relocations toIan Lance Taylor2-0/+12
wrap if the relocation covers the high bit of an address.
1999-06-10 * dwarf2.c (decode_line_info): Remove unused variable first_time.Ian Lance Taylor2-1/+4
1999-06-10Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson3-5/+25
* elf64_sparc.c (sparc64_elf_relocate_section): Use R_SPARC_max_std instead of R_SPARC_max. (sparc64_elf_info_to_howto): Likewise. * elf32_sparc.c (elf32_sparc_relocate_section): Likewise. (elf32_sparc_info_to_howto): Likewise; handle vtable relocations.
1999-06-07 * section.c (_bfd_strip_section_from_output): Remove outputRichard Henderson2-12/+17
sections with no initial link_order.
1999-06-07Define ELF_MAXPAGESIZENick Clifton2-0/+5
1999-06-07 * Makefile.am (SOURCE_HFILES): Add missing headers.Andreas Schwab3-8/+13
* Makefile.in: Regenerated.
1999-06-06 * elf32-mips.c (_bfd_mips_elf_print_private_data): RecognizeMark Mitchell2-0/+7
the N32 ABI.
1999-06-04Franz Sirl <Franz.Sirl-kernel@lauterbach.com>Richard Henderson4-35/+47
* elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of range undefweak symbols. * hash.c: Add missing comma after @xref{} * linker.c: Likewise.
1999-06-04Define ELF_MAXPAGESIZE for all ELF based ports.Nick Clifton6-5/+18
Produce an error message of ELF_MAXPAGESIZE is not defined.
1999-06-04 * Makefile.am: Rebuild dependencies.Ian Lance Taylor3-0/+17
(BFD32_BACKENDS): Add dwarf1.lo. (BFD32_BACKENDS_CFILES): Add dwarf1.c. * Makefile.in: Rebuild.
1999-06-04oops - omitted from previous deltaNick Clifton1-0/+13
1999-06-04Rename epoc-pe interworking function names to avoid a name space clash.Nick Clifton6-2/+39
Add epoc-pe to built targets.
1999-06-04(ELF_MAXPAGESIZE): Default to 0x1000 not 1Nick Clifton3-15/+25
1999-06-04 * elf.c (elf_fake_sections): Undo change of 1999-05-10.Andreas Schwab2-2/+6
1999-06-03 * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting ofJoern Rennecke2-6/+11
start / stop for recalculating of r_addend of R_SH_SWITCH*.
1999-06-03 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32Joern Rennecke2-0/+55
in other text sections.
1999-06-03 * libbfd.c (_bfd_generic_verify_endian_match): New function.Joern Rennecke6-26/+42
* libbfd-in.h (_bfd_generic_verify_endian_match): Declare. * libbfd.h: Regenerate. * coff-sh.c (sh_merge_private_data): Delete. (coff_bfd_merge_private_bfd_data): Change to _bfd_generic_verify_endian_match. (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define.
1999-06-03Update.Ulrich Drepper1-40/+44
1999-06-03Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE.Ulrich Drepper1-108/+108
1999-06-03 * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): CorrectIan Lance Taylor3-4/+11
prototype. (bfd_elf32_arm_process_before_allocation): Likewise. * bfd-in2.h: Rebuild.
1999-06-03Update.Richard Henderson2-99/+907
1999-06-03David Mosberger <davidm@hpl.hp.com>Richard Henderson2-30/+140
* dwarf2.c (struct line_info): Add member END_SEQUENCE to keep track of end_sequence markers. (add_line_info): Add END_SEQUENCE arg. (decode_line_info): Don't try to infer lo_pc and hi_pc from the debug-line info---it doesn't work right if a compilation unit consists of multiple discontiguous code-sequences. It would be worthwhile to optimize for the common case where a compilation unit results in a contiguous set of code sequences, but this is quite tricky to get right for arbitrary DWARF2 files. (lookup_address_in_line_info_table): Don't use the last line entry for a compilation unit for anything with an address higher than this line entry. Also, check for end_sequence markers to correctly handle discontinuities. (_bfd_dwarf2_find_nearest_line): When checking previously loaded compilation units, check all compilation units with each->high==0 just like when reading compilation units. * dwarf2.c (decode_line_info): Initialize table->files and table->last_line to NULL to avoid segfaults due to random values in these members. (concat_filename): Check for out-of-range file number before indexing filename table. Segfaults suck. * dwarf2.c (decode_line_info): Don't truncate address to least significant 32 bits (breaks 64 bit targets). (lookup_address_in_function_table): Ditto. (comp_unit_contains_address): Ditto.
1999-06-02 * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.Mark Mitchell2-3/+51
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise. (mips_elf64_howto_table_rela): Likewise.
1999-06-02 * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.Mark Mitchell2-37/+93
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise. (mips_elf64_howto_table_rela): Likewise. * elfcode.h (elf_slurp_reloc_table_from_section): New function, split out from ... (elf_slurp_reloc_table): Here. Use it to handle the case where a single section has two associated relocation sections.
1999-06-02Update copyright dates.Mark Mitchell2-2/+3
1999-06-02Update copyright.Richard Henderson1-1/+1
1999-06-02Mark Salter <msalter@cygnus.com>Richard Henderson2-0/+8
* coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if COFF_WITH_PE defined.
1999-06-02Rename interworking functions to avoid a name space collisionNick Clifton3-0/+20
1999-06-02 * elf-bfd.h (elf_backend_data): Remove use_rela_p. AddMark Mitchell6-22/+96
may_use_rel_p, may_use_rela_p, default_use_rela_p. (bfd_elf_section_data): Add use_rela_p. * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. (_bfd_elf_new_section_hook): Likewise. (elf_fake_sections): Use may_use_rela_p, etc., instead of use_rela_p. (_bfd_elf_copy_private_section_data): Copy use_rela_p. * elfcode.h (write_relocs): Determine whether or not use rela relocs based on the relocation section header. * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p instead of use_rela_p. * elfxx-target.h (elf_backend_may_use_relp): New macro. (elf_backend_may_use_rela_p): Likewise. (elf_backend_default_use_rela_p): Likewise. (elfNN_bed): Use them.
1999-06-02* hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.Richard Henderson2-2/+6
1999-06-02 * reloc.c (BFD_RELOC_MIPS_SUB): New relocation.Mark Mitchell6-10/+94
(BFD_RELOC_MIPS_GOT_PAGE): Likewise. (BFD_RELOC_MIPS_GOT_OFST): Likewise. (BFD_RELOC_MIPS_GOT_DISP): Likewise. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * elf32-mips.c (mips_info_to_howto_rela): New function. (USE_REL): Adjust for new conventions. (MINUS_ONE): New macro. (elf_mips_howto_table): Add R_MIPS_SUB. (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, and MIPS_GOT_DISP. (mips_elf_final_write_processing): Set sh_link, not sh_info, for a .MIPS.content section. (_bfd_mips_elf_fake_sections): Treat all sections that begin with .MIPS.content as .MIPS.content sections. Set SHF_MNIPS_NOSTRIP for such section. (elf_info_to_howto): Define to mips_info_to_howto_rela. * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, and MIPS_GOT_DISP.
1999-06-02 * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitializedAndreas Schwab2-1/+5
variable.
1999-06-02 * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigousAndreas Schwab2-4/+11
`else'.
1999-05-30Philip Blundell <philb@gnu.org>Nick Clifton2-2/+14
* elf32-arm.h (elf32_arm_relocate_section): Reinstate change of 1993-03-25 (!!). Take into account the bitmasks for the reloc so the addend does not overflow into the rest of the word
1999-05-29Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.Nick Clifton6-72/+221