aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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>.
1996-12-02 * cofflink.c (_bfd_coff_final_link): If there aren't any relocs inIan Lance Taylor2-7/+25
a relocateable link, don't try to process them. From Heinz Wrobel <wrobel@lpr.e-technik.tu-muenchen.de>.
1996-12-02 * elf32-mn10300.c (mn10300_info_howto): Renamed fromJeff Law2-9/+17
mn10300-Info_howto_rel. Tweak reloc argument to be an Elf32_Internal_Rela. (USE_RELA): Define instead of USE_REL. (elf_info_to_howto, elf_info_howto_rel): Corresponding changes.
1996-12-01 * configure.in, configure: Handle mips*-sgi-irix6*.Peter Schauer1-0/+6
* irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32 core files.
1996-11-27 * elf32-i386.c (elf_i386_relocate_section): Warn about aIan Lance Taylor1-0/+6
relocation against a symbol defined in a section with no output section. PR 11174.
1996-11-26 * aclocal.m4 (BFD_CC_FOR_BUILD): Don't require AC_C_CROSS.Ian Lance Taylor2-192/+432
* configure, config.in: Rebuild with autoconf 2.12.
1996-11-26 * elf-bfd.h (struct elf_link_hash_entry): Add other field.Ian Lance Taylor2-1/+25
* elf.c (_bfd_elf_link_hash_newfunc): Initialize other field. (swap_out_syms): Set st_other from existing st_other field. * elflink.h (elf_link_add_object_symbols): Store st_other in hash table other field. (elf_link_output_extsym): Set the other field from the global hash table entry. * elf32-mips.c (enum reloc_type): Add R_MIPS16_26. (elf_mips16_jump_howto): New static variable. (mips16_jump_reloc): New static function. (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP. (mips_info_to_howto_rel): Handle R_MIPS16_26. (mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26 to a mips16 symbol. * reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs. * bfd-in2.h, libbfd.h: Rebuild. * cpu-mips.c (arch_info_struct): Add mips:16 entry.
1996-11-26 * configure.host: Use long long for mips-sgi-irix6*.Ian Lance Taylor1-0/+7
1996-11-25 * elf32-mn10300.c (bfd_elf32_mn10300_reloc): New function.Jeff Law2-17/+184
(enum reloc_type): Add more reloc types. (elf32_mn10300_howto_table): Update for new reloc types. (elf32_mn10300_reloc_map): Update for new reloc types. * reloc.c: Add some new relocs for the mn10300 series. * bfd-in2.h, libbfd.h: Rebuilt. Last week's reloc work.
1996-11-23 * som.c (setup_sections): Don't lose for a space which hasJeff Law1-0/+5
no data, but some symbols. binutils/11140
1996-11-22 * sunos.c (struct sunos_link_hash_table): Add got_needed field.Ian Lance Taylor1-0/+17
(sunos_link_hash_table_create): Initialize got_needed. (sunos_create_dynamic_sections): Only set .got section size if it is not already set. Set got_needed. (bfd_sunos_size_dynamic_sections): Check got_needed. Only set sdynptr, and only handle dynamic sections, if dynamic sections are needed. (sunos_scan_std_relocs): Pass false to create_dynamic_sections. Initialize .got section. (sunos_scan_ext_relocs): Likewise. (sunos_write_dynamic_symbol): Set up PLT entry even if this is not a dynamic symbol. (sunos_finish_dynamic_link): Check got_needed. Only set up dynamic linking information if needed. PR 11074.
1996-11-21 * config.bfd: Added VersaDOS format to the Ericsson configuration.Rob Savoye1-0/+4
1996-11-20 * elf32-mn10300.c: Rough cut at relocs for the mn10300.Jeff Law2-0/+107
1996-11-12 * filemode.c: Include sysdep.h.Dawn Perchik1-0/+1
* ihex.c: Add casts to eliminate compiler warnings. * sunos.c: Add casts to eliminate compiler warnings.
1996-11-11Add more support for V.4 shared libsMichael Meissner1-0/+8
1996-10-29 * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): UseDavid Edelsohn1-0/+7
complain_overflow_unsigned.
1996-10-29add missing end-sanitize-v850Ian Lance Taylor1-0/+1
1996-10-29Tue Oct 29 12:53:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* elf32-d10v.c (elf_d10v_howto_table): Don't complain on overflows for R_D10V_16 and R_D10V_18.
1996-10-29 * ieee.c (ieee_write_section_part): Use LMA rather than VMA.Ian Lance Taylor1-0/+20
(do_with_relocs): Likewise. (do_as_repeat): Likewise. (copy_expression): Likewise. PR 10946.
1996-10-24 * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows.Stu Grossman1-0/+4
1996-10-23 * elf32-v850.c: Add comments about assumptions aboutJeff Law2-11/+28
char, short & long sizes. (elf32_v850_bfd_final_link_relocate): Fix sign extension problems for several relocs. Still fixing sda/tda/zda stuff.
1996-10-23 * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym.Ian Lance Taylor1-0/+7
Store import file index in ldindx. (xcoff_build_ldsyms): Assume that ldsym was not previously allocated. For an imported symbol, copy ldindx into l_ifile.
1996-10-23 * elf32-v850.c (elf_v850_howto_table): Fix ordering ofJeff Law2-19/+79
R_V850_ZDAOFFSET and R_V850_TDAOFFSET. Fix various fields in R_V850_TDAOFFSET. (elf32_v850_bfd_final_link_relocate): Tweak pc-relative relocs to work more like other relocs. Handle R_V850_TDAOFF relocations. v850 tda, sda & zda stuff.
1996-10-23 * elf32-v850.c: Include bfdlink.h.Jeff Law2-0/+325
(bfd_elf32_v850_reloc): Return an error if we get a reloc we can't handle. (elf32_v850_bfd_final_link_relocate): New function. (v850_elf_relocation_section): Likewise. (elf_backend_relocate_section): Define. New-style linker for the v850 (necessary to handle zda, sda & tda). sda & tda relocs seem to be working. No tda reloc support yet.
1996-10-22 * binary.c (binary_set_section_contents): Ignore sections whichIan Lance Taylor1-0/+5
don't have SEC_LOAD and SEC_ALLOC set. PR 10914.
1996-10-21 * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64.Ian Lance Taylor1-0/+5
(mips32_64bit_reloc): New static function. (mips_reloc_map): Add entry for BFD_RELOC_64. (mips_elf_relocate_section): Handle R_MIPS_64.