aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1995-07-10 Based on patches from Eric Youngdale <eric@aib.com>:Ian Lance Taylor2-0/+40
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): If -Bsymbolic, output a DT_SYMBOLIC dynamic entry. (elf_adjust_dynamic_symbol): If -Bsymbolic, don't require a PLT entry for a locally defined symbol. * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, do warn about undefined symbols, and fill in the GOT entry for a symbol defined in a regular object file. (elf_i386_finish_dynamic_symbol): If -Bsymbolic, output a RELATIVE reloc rather than a GLOB_DAT reloc for a symbol defined in a regular object file. * elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, do warn about undefined symbols, and fill in the GOT entry for a symbol defined in a regular object file. (elf_m68k_finish_dynamic_symbol): If -Bsymbolic, output a RELATIVE reloc rather than a GLOB_DAT reloc for a symbol defined in a regular object file. * elf32-sparc.c (elf32_sparc_relocate_section): If -Bsymbolic, do warn about undefined symbols, and fill in the GOT entry for a symbol defined in a regular object file. (elf32_sparc_finish_dynamic_symbol): If -Bsymbolic, output a RELATIVE reloc rather than a GLOB_DAT reloc for a symbol defined in a regular object file.
1995-07-10add binary.o, tekhex.oKen Raeburn2-0/+7
1995-07-10 * config/m68k-coff.mt (SELECT_VECS): Rename from SELECT_VECTORS.Ian Lance Taylor1-0/+8
Correct elements to be actual BFD vector names.
1995-07-10 * Makefile.in (Makefile): Don't depend upon @frags@.Ian Lance Taylor1-2/+2
(config.status): Depend upon @frags@.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn24-74/+683
1995-07-07 * coffgen.c (coff_renumber_symbols): Sort defined symbols that areIan Lance Taylor3-34/+69
neither BSF_FUNCTION not BSF_NOT_AT_END just before undefined symbols. * coffcode.h (coff_slurp_symbol_table): Set BSF_FUNCTION as well as BSF_NOT_AT_END. PR 5491.
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-0/+5
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-2/+2
1995-07-06 * elf32-i386.c (elf_i386_relocate_section): Revert May 24 patch.Ian Lance Taylor2-21/+14
Don't copy PC32 reloc against section into shared object. PR 6997, 7381.
1995-07-06 * Makefile.in: Rebuild dependencies.Ian Lance Taylor2-9/+22
(CFILES): Added elflink.c. (Makefile): Depend upon config.status, not configure.in. (config.status): New target; depend upon configure configure.host and config.bfd.
1995-07-06copyright noticesKen Raeburn3-1/+37
1995-07-06no more configure.inKen Raeburn1-1/+0
1995-07-06keep configure; clean elf.c not elfcode.h for arcKen Raeburn1-1/+2
1995-07-06clean configure when cleaning configure.inKen Raeburn1-2/+2
1995-07-06* Makefile.in (BFD_LIBS): No, don't put elflink.o here.Ken Raeburn2-1/+4
* configure.in: Include it here whenever elf.o is specified.
1995-07-06Added new files elflink.c, elflink.h, elfcore.h.Ken Raeburn19-6331/+6820
Moved some mostly size-independent stuff from elfcode.h to elf.c, adding a data structure to elfcode.h with some misc data and callback functions. Added a pointer to that structure to the target back end data. More work can be done here. Renamed generic elf routines (not cpu-specific stuff) to start with bfd_elf or _bfd_elf. Updated most call sites, sometimes defined some macros. Moved some dynamic linking support code from m68k, sparc, i386 to common files, using target back end flags to control behavior. More work can probably be done here too. Moved core- and linker-support code out of elfcode.h to elf.c, elfcore.h, elflink.h, or elflink.c. Now elfcode.h contains only .o and executable support, plus #includes of elfcore.h and elflink.h. Much of the contents of these other header files can probably still be moved from the .h files to the .c files, to get compiled only once. Cleaned up some "gcc -Wall" warnings regarding unused or uninitialized variables, in generic and cpu-specific code.
1995-07-05 * elf32-mips.c (mips_elf_object_p): Unconditionally setIan Lance Taylor2-21/+6
elf_bad_symtab, since sometimes the symbol table is messed up and the last symbol is global. PR 6921.
1995-07-05 * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.Ian Lance Taylor4-10/+70
* libecoff.h (_bfd_ecoff_bfd_is_local_label): Declare. * elf32-mips.c (mips_elf_is_local_label): New static function. (bfd_elf32_bfd_is_local_label): Define. PR 6978.
1995-07-05 * configure.in: Use $ac_config_sub, not $configsub.Ian Lance Taylor3-2/+11
* configure: Likewise.
1995-07-05don't define FASCIST_FDOPEN for i386aix hostKen Raeburn1-0/+2
1995-07-05fix usage message on --enable optionsKen Raeburn2-4/+4
1995-07-05autoconfiscationKen Raeburn6-94/+1234
1995-07-04 * archive.c (_bfd_construct_extended_name_table): IfIan Lance Taylor2-9/+17
BFD_TRADITIONAL_FORMAT is set, limit the length of all file names to ar_max_namelen. (bfd_dont_truncate_arname): If BFD_TRADITIONAL_FORMAT is set, call bfd_bsd_truncate_arname. PR 6888.
1995-07-04 * archive.c (_bfd_write_archive_contents): Revert June 1 change.Ian Lance Taylor2-27/+88
1995-07-04 * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provideIan Lance Taylor4-5/+21
argument. * bfd-in.h (bfd_elf32_record_link_assignment): Update prototype. (bfd_elf64_record_link_assignment): Likewise. * bfd-in2.h: Rebuild. PR 7164.
1995-07-04 * libelf.h (struct elf_link_hash_table): Add needed field. RemoveIan Lance Taylor6-78/+184
saw_needed field. * elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name is an empty string, don't make a DT_NEEDED entry in the output file. Record all DT_NEEDED entries found in input dynamic objects. (elf_link_output_extsym): Don't check saw_needed when issuing warnings. * elf.c (_bfd_elf_link_hash_table_init): Initialize needed, not saw_needed. (bfd_elf_get_needed_list): New function. * bfd-in.h (struct bfd_elf_link_needed_list): Define. (bfd_elf_get_needed_list): Define. * bfd-in2.h: Rebuild. PR 7083.
1995-07-04 * ecoff.c (_bfd_ecoff_find_nearest_line): Also initializeIan Lance Taylor2-0/+8
find_buffer and fdrtab_len fields of newly allocated find_line_info structure.
1995-07-03 * som.c (hppa_som_gen_reloc_type): New argument "sym_diff",Jeff Law3-4/+142
nonzero when we're generating relocations for an expression using the difference of two symbols. All callers changed. Handle difference of symbols for both R_HPPA and R_COMPLEX cases. (som_write_fixups): Handle R_COMP1, R_COMP2 and R_CODE_EXPR fixups.
1995-07-03 * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocateIan Lance Taylor2-0/+4
find_line_info, clear the fdrtab field.
1995-07-03xIan Lance Taylor1-2/+14
1995-07-03 * bfd.c (enum bfd_error): Define bfd_error_no_armap.Ian Lance Taylor5-741/+248
(bfd_errmsgs): Add string for bfd_error_no_armap. * bfd-in2.h: Rebuild. * ecoff.c (ecoff_link_add_archive_symbols): If an archive has no armap, set bfd_error_no_armap rather than bfd_error_no_symbols. * elfcode.h (elf_link_add_archive_symbols): Likewise. * linker.c (_bfd_generic_link_add_archive_symbols): Likewise.
1995-07-03 * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here,Ian Lance Taylor1-1/+2
rather than in bfd-in2.h.
1995-07-03Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain4-6/+19
* config.bfd (win32): New configuration. * configure.host (pe): Changed to i386win32. * config/i386pe.mh: Deleted. * config/i386win32.mh: New file.
1995-07-03 * elfcode.h (elf_link_add_object_symbols): Permit common andIan Lance Taylor5-72/+52
indirect symbols in weakdefs BFD_ASSERT. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Simplify BFD_ASSERT to permit some legal, but odd, cases. * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
1995-07-03Correct erroneous checkin, with no ChangeLog entry, of 13 May.Ian Lance Taylor1-32/+93
1995-07-03 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): CorrectIan Lance Taylor4-46/+1766
BFD_ASSERT to handle __start_SECNAME symbols automatically defined by the linker. * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
1995-07-03 * Makefile.in: Rebuild dependencies.Ian Lance Taylor2-10/+32
(BFD32_BACKENDS): Add versados.o. (CFILES): Add pe-i386.c, pei-i386.c, and versados.c. start-sanitize-arc (elf32-arc.o): New target. This should be removed when elf32-arc.c can be added to CFILES. end-sanitize-arc
1995-07-02 * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_fileIan Lance Taylor3-2/+7
to FILE * before using it. * stab-syms.c: Revert yesterday's patch.
1995-07-02Remove elf32-targetd.h and elf64-targets.h. Add elfxx-target.h.Ian Lance Taylor1-2/+1
1995-07-01 * stab-syms.c (stdio.h): Include prior to libaout.h, whichFred Fish2-23/+45
includes bfdlink.h, which now uses FILE.
1995-07-01removed unused elf_64_p fieldKen Raeburn3-8/+4
1995-07-01generate elf*-target.h from common elfxx-target.h sourceKen Raeburn4-454/+90
1995-06-30 Fri Jun 30 16:07:18 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-17/+19
* cofflink.c (_bfd_coff_generic_relocate_section): Compare the full text of .reloc or .edata section names.
1995-06-30 * cofflink.c (_bfd_coff_generic_relocate_section):Fred Fish2-1/+6
Remove extra '+'.
1995-06-30 * coff-h8300.c (COFF_LONG_FILENAMES): Define.Steve Chamberlain2-3/+6
1995-06-29Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain10-91/+573
* Makefile.in: versados.o is now conditionally built. * coffcode.h (add_data_entry): New function. (coff_write_object_contents): Clean up. Calculate data entries. * cofflink.c (_bfd_coff_generic_relocate_section): .reloc and .edata sections are IMAGE_BASED too. If there's a base_file then write out base information. * configure.host (i386-*-pe): New. * syms.c (coff_section_type): Only scan prefixes. * targets.c (bfd_target_vector): Versados is now conditionally built. * config/m68k-coff.mt: Build versados.o * hosts/i386pe.h: New file.
1995-06-26 * elf32-hpa.c (elf32_hppa_relocate_section): Close comment beforeJeff Law2-2/+13
R_PARISC_DPREL21L handling.
1995-06-22 * reloc.c (bfd_perform_relocation): Add case for -ve words.Steve Chamberlain1-0/+4
1995-06-21 * elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply aJeff Law1-0/+5
relocation against an undefined symbols.
1995-06-21 * versados.c: Second pass/rewrite.Steve Chamberlain1-0/+9