aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
1995-06-18Fix typo in last change.Jeff Law1-1/+1
1995-06-18 * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stubJeff Law2-0/+7
section if we get an error.
1995-06-17 * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't messJeff Law2-2/+12
with the operands of an R_PARISC_DPREL21L relocation if the insn is not "addil <symbol>,%r27".
1995-06-16 * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don'tStan Shebs2-8/+10
define. * bfd-in2.h: Rebuilt. * bfd.c (NT_subsystem, NT_stack_heap): Define.
1995-06-16 * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the rightJeff Law2-9/+32
type field (there are two!) when checking to see if $global$ is defined.
1995-06-15 * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_falseStan Shebs6-24/+78
to bfd_tttrue, bfd_fffalse so as not to conflict with functions. * coffswap.h (coff_swap_scnhdr_out): Remove version that was hacked for MPW C. * mpw-config.in: Set shell vars instead of pasting to makefile for each configuration, edit coffswap.h to make MPW C not choke. (i386-unknown-coff, sh-hitachi-hms): Recognize. * mpw-make.in (BFD_LIBS): Add versados.c.o. * versados.c (versados_scan): Properly cast results from bfd_alloc.
1995-06-14 * cofflink.c (process_embedded_commands): New functionSteve Chamberlain1-17/+351
reads and handles .drectve sections for PE. (coff_link_input_bfd): Call new function if PE.
1995-06-12 * bfd-in.h (bfd_set_section_vma): Case true to a boolean.Jeff Law1-0/+6
(bfd_set_cacheable): Likewise. * bfd-in2.h: Rebuilt.
1995-06-10 * targets.c: Add copy_private_symbol_data and link_split_sectionJeff Law5-22/+52
to the target vector. * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define. (_bfd_nolink_bfd_link_split_section): Likewise. (bfd_generic_link_split_section): Declare. * syms.c (bfd_copy_private_symbol_data): Define. * linker.c (bf_link_split_section): Likewise. * som.c (som_bfd_copy_private_symbol_data): New function (som_bfd_link_split_section): Likewise. * All other targets updated with default versions of new routines. * Take out my braindamaged bfd_true/bfd_false changes from earlier today. Replace with just: * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if compiling with g++-2.6 or later. * bfd-in2.h: Rebuilt.
1995-06-09 * bfd-in.h (bfd_true, bfd_false): Define these to true and falseJeff Law3-0/+8
if TRUE_FALSE_ALREADY_DEFINED is not defined. * bfd-in2.h: Rebuilt.
1995-06-09 * elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.Steve Chamberlain2-13/+19
1995-06-09 * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this ifJeff Law3-30/+222
compiling with g++-2.6 or later. (bfd_set_section_vma): Use bfd_true and bfd_false rather than true and false. (bfd_set_section_alignment): Likewise. (bfd_set_section_userdata): Likewise. (bfd_set_cacheable): Likewise. * bfd-in2.h: Rebuilt.
1995-06-09 * versados.c (struct esd, get_4): Lint; use unsigned chars.Steve Chamberlain2-0/+846
1995-06-09 * coff-i960.c (coff_i960_relocate): Compare output section namesSteve Chamberlain1-0/+5
when converting for vxworks.
1995-06-08* elfcode.h (elf_fake_sections): Permit .scommon or COMMON sections as randomKen Raeburn2-78/+250
SHT_NOBITS sections, in case a linker script is strange.
1995-06-05 * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesizeSteve Chamberlain1-1/+1
macro. (pr ld/7127)