aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1997-01-16 * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Change type ofIan Lance Taylor3-11/+34
auxiliary_filters parameter to be const char * const *. Accept a NULL terminated array. * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. (bfd_elf32_size_dynamic_sections): Update declaration. * bfd-in2.h: Rebuild.
1997-01-16update copyrightIan Lance Taylor1-5/+9
1997-01-14 * libaout.h (machine_type): Reserve several values for sparclet.David Edelsohn1-0/+4
1997-01-14Fix sanitize stringMichael Meissner1-1/+1
1997-01-14Allow tic80-*-*, not just tic80-*-coffMichael Meissner1-0/+6
1997-01-14Cleanup; fix some abortsMichael Meissner1-0/+12
1997-01-06Fix typo.Jeff Law1-1/+1
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace.Jeff Law2-104/+9
Use bfd_elf_generic_reloc as special function for all relocs. (bfd_elf32_mn10200_reloc): Remove unnecessary function. Working on relocs for the mn10200.
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Set partial_inplace forJeff Law2-1/+6
24bit pc-relative reloc.
1997-01-04 * Makefile.in (coff-tic80.o): Add coffcode.h to dependency list.Fred Fish2-0/+17
* coff-tic80.c (tic80coff_vec): Data byte order is big endian and header byte order is little endian. Use correct bfd_get and bfd_put routines for little endian headers. * coffcode.h (coff_set_arch_mach_hook): Set arch to bfd_arch_tic80 for TIC80_ARCH_MAGIC number.
1997-01-04 * reloc.c: Add BFD_RELOC_24.Jeff Law2-70/+33
* elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. * bfd-in2.h, libbfd.h: Rebuilt. Starting on relocs for the mn10200.
1997-01-03fix copyrightsIan Lance Taylor2-2/+2
1997-01-03Fri Jan 3 16:58:31 1997 Richard Henderson <rth@tamu.edu>Ian Lance Taylor14-933/+1547
elf64-alpha multiple .got rewrite: * elf-bfd.h (struct elf_backend_data): Add always_size_sections entry. (bfd_elf*_mkobject): Don't define here ... * elfxx-target.h: ... but rather here. Default always_size_sections hook to NULL. * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was what the #defines in elf-bfd.h transmuted it to anyway. * section.c: Add SEC_LINKER_CREATED flag. * bfd-in2.h: Rebuild. * elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to relocation section flags. (elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY to recognize generated bits. * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections): Likewise. * elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections, mips_elf_create_compact_rel_section, mips_elf_create_got_section, mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_create_linker_section, ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs, elf32_sparc_size_dynamic_sections): Likewise. * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to section flags. (_bfd_elf_create_dynamic_sections): Likewise. (_bfd_elf_make_linker_section_rela): Likewise. * elflink.h (elf_link_create_dynamic_sections): Likewise. (bfd_elf,size_dynamic_sections): Call the always_size_sections hook. (elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY to identify generated bits. (elf_link_input_bfd): Likewise. * elf64-alpha.c: Rewrite everything touching relocations.
1997-01-03Put common variables into the appropriate section, based on relocation typesMichael Meissner2-227/+373
1996-12-31 * config.bfd (mips*el-*-linux*): New target.Ian Lance Taylor2-0/+14
(mips*-*-linux*): New target.
1996-12-31 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up.Ian Lance Taylor1-45/+68
Return a useful value.
1996-12-31 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.Ian Lance Taylor2-1/+3
1996-12-31 * configure.host: Use ac_cv_func_mmap_fixed_mapped instead ofIan Lance Taylor1-0/+2
ac_cv_func_mmap in bfd/configure.host.
1996-12-31Fix some spacingMichael Meissner2-121/+127
1996-12-31 * configure.in: Check ac_cv_func_mmap_fixed_mapped, notIan Lance Taylor1-0/+4
ac_cv_func_mmap. * configure: Rebuild.
1996-12-31 * elflink.h (NAME(bfd_elf,size_dynamic_sections)): AddIan Lance Taylor5-10/+47
filter_shlib and auxiliary_filter_shlib parameters. * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and DT_FILTER. * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. (bfd_elf64_size_dynamic_sections): Likewise. * bfd-in2.h: Rebuild.
1996-12-30 * xcofflink.c (xcoff_build_ldsyms): When exporting all definedIan Lance Taylor1-0/+6
symbols, don't export a symbol which is defined by an object in an archive which contains shared objects. PR 11379.
1996-12-30 * archures.c (enum bfd_architecture): Add bfd_arch_tic80Fred Fish2-4/+11
for TI TMS320c80 (MVP). (bfd_archures_list): Add bfd_tic80_arch. * bfd-in2.h: Regenerate by running "make headers".
1996-12-30 * cpu-tic80.c (bfd_tic80_arch): Add struct.Fred Fish3-3/+12
* configure.in (case $vec): Correct typo, "tb" not "tp". Also add cofflink.o for tic80coff_vec. * configure: Regenerate with autoconf.
1996-12-30 * libbfd.c: Patch up the mmap code so that it is only built if BFDIan Lance Taylor1-0/+5
is configured with --with-mmap.
1996-12-29 * Makefile.in (BFD32_BACKENDS): Add coff-tic80.oFred Fish5-1/+104
(ALL_MACHINES): Add cpu-tic80.o (cpu-tic80.o, coff-tic80.o): Add dependencies. * coff-tic80.c: Add skeleton, cloned from another coff config. * coffcode.h (coff_write_object_contents): Set magic to TIC80MAGIC for TIc80.
1996-12-28Add TIc80 stuff keep/lose stuff.Fred Fish1-0/+36
1996-12-28(Lay some groundwork for TIc80 port that will be filled in incrementally.)Fred Fish8-24/+122
* TODO: Correct a misspelling. start-sanitize-tic80 * coff-tic80.c: New file for TI TMS320C80 (MVP). * cpu-tic80.c: New file for TI TMS320C80 (MVP). * configure.in (case $vec): Add tic80coff_vec entry. * configure: Regenerate with autoconf. * archures.c (bfd_tic80_arch): Declare. * bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80. * config.bfd (case ${targ}): Add tic80*-*-coff* target. * targets.c (tic80coff_vec): Add decl as extern bfd_target. (bfd_target_vector): Add tic80coff_vec entry. end-sanitize-tic80
1996-12-27fix typoo in commentIan Lance Taylor1-3/+3
1996-12-27 * elflink.h (elf_buckets): Add some more values for largerIan Lance Taylor2-2/+8
binaries.
1996-12-26 * Makefile.in (install): Move subdir_do out of conditional. FromIan Lance Taylor2-3/+8
Fred Fish <fnf@cygnus.com>.
1996-12-18 * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, andJeff Law2-33/+10
32 bit relocs. (elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. To keep the assembler quiet.
1996-12-17 * elf32-mips.c (mips_elf_add_symbol_hook): Add 1 to the value of aIan Lance Taylor2-8/+257
mips16 symbol during the link. (mips_elf_finish_dynamic_symbol): Subtract 1 from the value of a mips16 symbol. (mips_elf_link_output_symbol_hook): New static function. (elf_backend_link_output_symbol_hook): Define.
1996-12-17 * elf.c (bfd_elf_print_symbol): Print the st_other field if it isIan Lance Taylor2-0/+10
not zero.
1996-12-16 * elf.c (bfd_section_from_shdr): Don't check for reloc sectionsIan Lance Taylor2-14/+7
against SEC_DEBUGGING sections here (revert patch of December 5). * elfcode.h (elf_object_p): Check for them here, instead.
1996-12-15 * elfcode.h (elf_slurp_reloc_table): Add dynamic parameter.Ian Lance Taylor6-181/+459
* elf.c (_bfd_elf_canonicalize_reloc): Pass new argument to slurp_reloc_table. (_bfd_elf_get_dynamic_reloc_upper_bound): New function. (_bfd_elf_canonicalize_dynamic_reloc): New function. * elf-bfd.h (struct elf_size_info): Update declaration of slurp_reloc_table. (_bfd_elf_get_dynamic_reloc_upper_bound): Declare. (_bfd_elf_canonicalize_dynamic_reloc): Declare. * elfxx-target.h: Use new dynamic reloc routines by default. * elf64-mips.c (mips_elf64_slurp_reloc_table): Add dynamic parameter.
1996-12-13 * libaout.h (enum machine_type): Change M_SPARCLET from 142 to 131.David Edelsohn2-2/+5
At the request of matra.
1996-12-13Fri Dec 13 13:18:49 1996 Dan Wilder <dan@gasboy.com>Ian Lance Taylor2-2/+19
* coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k if NAMES_HAVE_UNDERSCORE is defined.
1996-12-13 * elflink.h (elf_link_add_object_symbols): Only add a weakIan Lance Taylor2-4/+20
symbol if the real definition is in the dynamic symbol table. After finding the real definition, then, if it is dynamic, add the weak symbol to the dynamic symbol table. PR 11244.
1996-12-12 * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Make static.Ian Lance Taylor1-0/+2
PR 11253.
1996-12-12Support R_PPC_PLTREL24Michael Meissner2-27/+222
1996-12-12 * ppcboot.c (ppcboot_set_arch_mach): Don't define; it's aIan Lance Taylor1-1/+19
function. (ppcboot_bfd_print_private_bfd_data): Don't take the address of an array. PR 11256.
1996-12-11 * elf32-mn10300.c (reloc_type): Remove big endian mn10300 relocJeff Law2-45/+287
variants. (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise. (bfd_elf32_mn10300_reloc): Write data in little endian format. * reloc.c: Remove mn10300 big endian relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-mn10200.c: Update from elf32-mn10300.c.
1996-12-06 * elf32-mn10300.c (elf_symbol_leading_char): Define.Jeff Law2-0/+4
1996-12-06 * elf32-mn10300.c: Add some comments.Jeff Law2-2/+21
Still cleaning up.
1996-12-06 * ihex.c (ihex_scan): Always initialize buf before jumping toIan Lance Taylor1-0/+6
error_return. (ihex_read_section): Likewise.
1996-12-06 * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial-Jeff Law2-5/+10
inplace for most relocs.
1996-12-05 * elflink.h (elf_link_add_object_symbols): Calling check_relocsIan Lance Taylor3-10/+39
even if SEC_ALLOC is not set. * elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC when deciding whether to copy a reloc into a shared object. (elf_i386_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. (elf32_sparc_relocate_section): Likewise. * elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a reloc section if it is not set in the source section. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. * elf.c (bfd_section_from_shdr): Mark a reloc section associated with a SEC_DEBUGGING section as SEC_DEBUGGING. PR 11174.
1996-12-04#if 0 some code that is not used yetMichael Meissner1-1/+10
1996-12-02 * cofflink.c (_bfd_coff_generic_relocate_section): Print an errorIan Lance Taylor1-0/+7
message for bfd_reloc_outofrange, rather than aborting. From Philippe De Muyter <phdm@info.ucl.ac.be>.