aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1999-06-22 * elf.c (bfd_section_from_shdr): Avoid crashing on a bogus sh_linkIan Lance Taylor2-0/+14
field.
1999-06-22 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>:Ian Lance Taylor2-22/+33
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set unused dynindx field to 0, not -1. (ppc_elf_finish_dynamic_sections): Check for positive section dynindx field, rather than comparing against -1. (ppc_elf_relocate_section): Only return false if undefined_symbol or reloc_overflow fail, not always upon encountering an error.
1999-06-22clarify section dynindx commentIan Lance Taylor1-1/+2
1999-06-22 * elflink.h (link_read_relocs): Explicitly cast external_relocs toMark Mitchell2-1/+6
bfd_byte * before performing pointer arithmetic.
1999-06-22 * elf-hppa.h: New file. Common stuff for elf32 and elf64 PAJeff Law4-433/+579
support. * elf32-hppa.c: Include elf-hppa.h. (ARCH_SIZE): Define. (elf_hppa_reloc_type_lookup): Delete. Found in the common code now. (elf32_hppa_info_to_howto): Similarly. (elf_hppa_howto_table): Similarly. (elf_hppa_reloc_type_lookup): Similarly. (hppa_elf_gen_reloc_type): Similarly. * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete.
1999-06-22Catch overflow in 22_PCREL reloc.Nick Clifton2-0/+9
1999-06-21 * coff-arm.c (arm_emit_base_file_entry): Explicitly declare returnIan Lance Taylor2-1/+6
type.
1999-06-20 * section.c (_bfd_strip_section_from_output): Ignore sectionsRichard Henderson2-2/+9
DISCARDed by the link script.
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.