aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
AgeCommit message (Collapse)AuthorFilesLines
2001-03-08Update copyright noticesNick Clifton1-1/+2
2001-02-11fix formattingNick Clifton1-4/+4
2001-01-032001-01-03 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-56/+43
* libbfd.c: Fix formatting. * linker.c: Likewise. * lynx-core.c: Likewise.
2000-12-21Add bfd_get_bits() and bfd_put_bits().Nick Clifton1-0/+48
2000-07-31Minor formatting fixes.Nick Clifton1-1/+1
2000-07-12* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writingDJ Delorie1-5/+25
out a structure that is BFD_IN_MEMORY.
2000-05-22Use bfd_generic_verify_endian_match() and fix it to only check when endiannessNick Clifton1-5/+9
is known.
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra1-2/+2
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-01-21Fix seeks and reads past the end of a BIMNick Clifton1-1/+16
1999-11-09 * libbfd.c (bfd_read): Check result of read against desired resultIan Lance Taylor1-8/+15
using !=, not <. (_bfd_generic_get_section_contents): Set bfd_error if the seek is invalid compared to the section size.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-1/+1
* libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most significant bit is set.
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-27/+27
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf1.c (parse_line_table): Change eachLine to unsigned long. (dwarf1_unit_find_nearest_line): Change i to unsigned long.
1999-07-11 * libbfd.c (bfd_put_8): Make it of type `void'.Mark Mitchell1-1/+1
* bfd-in2.h: Regenerated. * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize for 32-bit hosts. (_bfd_mips_elf_final_link): Likewise.
1999-07-07 * elflink.h (elf_link_create_dynamic_sections): Handle non-standardMark Mitchell1-0/+14
hash-entry sizes. (size_dynamic_sections): Likewise. (elf_link_output_extsym): Likewise. * elf.c: (elf_fake_sections): Likewise. * libbfd.c (bfd_get): New macro. (bfd_put): Likewise. * bfd-in2.h: Regenerated. * elf-bfd.h (elf_size_info): Add hash_entry_size, int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, wap_reloca_in, and swap_reloca_out. * elflink.h (elf_link_read_relocs_from_section): Adjust to handle multiple internal relocations per external relocation. (link_read_relocs): Likewise. (elf_bfd_final_link): Likewise. (elf_link_input_bfd): Likewise. (elf_gc_mark): Likewise. (elf_gc_smash_unused_vtentry_relocs): Likewise. * elfcode.h (elf_swap_dyn_out): Adjust type to match elf_swap_dyn_in. (size_info): Add entries for new fields. * elf64-mips.c (mips_elf64_swap_reloc_out): Enable. (mips_elf64_be_swap_reloc_in): New function. (mips_elf64_be_swap_reloc_out): Likewise. (mips_elf64_be_swap_reloca_in): Likewise. (mips_elf64_be_swap_reloca_out): Likewise. (mips_elf64_size_info): Add entries for new fields.
1999-06-03 * libbfd.c (_bfd_generic_verify_endian_match): New function.Joern Rennecke1-0/+23
* 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-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1263