aboutsummaryrefslogtreecommitdiff
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 * config/obj-coff.c (obj_coff_line): Call listing_source_line, inIan Lance Taylor2-1/+14
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function. PR 7006.
1995-07-05 * symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.Ian Lance Taylor2-38/+28
(S_CLEAR_EXTERNAL): Likewise. (S_SET_WEAK): Warn if symbol is global. PR 6750.
1995-07-05 * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attemptIan Lance Taylor2-3/+33
to put an undefined symbol into a set. PR 6340.
1995-07-05 * remote-nindy (nindy_wait): Use infinite timeout reading afterKung Hsu2-1/+6
esacpe character.
1995-07-05 * Makefile.in: Remove @configure_input@; it's not needed inIan Lance Taylor2-17/+16
files named Makefile.
1995-07-05 * config/tc-m88k.c (md_pseudo_table): Add ".set" so that theIan Lance Taylor2-0/+5
explicit pseudo-op works, while continuing to treat "set" as an instruction. PR 5199.
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-05Correct last changeIan Lance Taylor1-12/+1
1995-07-05 * ecoff.c (ecoff_debugging_seen): New global variable.Ian Lance Taylor5-26/+142
(ecoff_directive_def): Set ecoff_debugging_seen. (ecoff_stab): Likewise. * ecoff.h: Make idempotent. (ecoff_debugging_seen): Declare. * config/tc-mips.c: Include ecoff.h. (mips_debug): New static variable. (s_stringer, s_mips_space): Remove unneeded declarations. (md_parse_option): In case 'g', set mips_debug to debugging level. (mips_local_label): New function. * tc-mips.h (LOCAL_LABEL): Call mips_local_label. (mips_local_label): Declare. 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-05 * as.c (main): Only use sbrk when HAVE_SBRK defined.Fred Fish4-21/+92
* configure.in: Add test for sbrk. * configure: Regenerate using autoconf 2.4.
1995-07-05 * ldmain.c (HAVE_SBRK): Define for everything exceptFred Fish2-2/+13
specific systems that are known to not support sbrk. (main): Use HAVE_SBRK to decide whether or not to use sbrk.
1995-07-04 * nm.c (size_forward): Check yf against yn, not xn.Ian Lance Taylor2-28/+242
PR 7276.
1995-07-04 * objcopy.c (copy_archive): Record all output BFD's, and closeIan Lance Taylor2-5/+15
them before unlinking them and removing the temporary directory, to avoid NFS problems. PR 6795.
1995-07-04Rename truncate to ar_truncateIan Lance Taylor2-12/+12
1995-07-04 * ar.c (replace_members): In verbose messages, use 'r' whenIan Lance Taylor4-21/+78
replacing a member, and 'a' when adding one. * ar.c (truncate): New static variable. (normalize): Change return type to const char *. Add abfd argument. Change all callers. If truncate, chop the filename to abfd->ar_max_namelen. (main): For the 'f' modifier, set truncate to true. Don't change quick_append to replace to truncate is true. (do_quick_append): If truncate, set BFD_TRADITIONAL_FORMAT. (write_archive): Likewise. * binutils.texi, ar.1: Document 'f' modifier. PR 6888.
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-04Sanitize arc stuff from Makefile.in.Ian Lance Taylor1-1/+1
1995-07-04 * objcopy.c (enum strip_action): Define strip_unneeded.Ian Lance Taylor5-73/+155
(OPTION_STRIP_UNNEEDED): Define. (strip_options): Add "strip-unneeded". (copy_options): Likewise. (copy_usage): Mention --strip-unneeded. (strip_usage): Likewise. (is_strip_section): Strip debugging sections if strip_unneeded. (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. (copy_object): If strip_all, discard symbols without checking discard_locals. (copy_object): Call filter_symbols if strip_unneeded. (setup_section): Strip debugging sections if strip_unneeded. (copy_section): Likewise. (strip_main): Handle OPTION_STRIP_UNNEEDED. (copy_main): Likewise. * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. PR 6684.
1995-07-04 * archive.c (_bfd_write_archive_contents): Revert June 1 change.Ian Lance Taylor2-27/+88
1995-07-04 * infrun.c (wait_for_inferior): When switching from one thread toJeff Law3-0/+125
another, save infrun's state for the old thread and load infrun's previous state for the new thread. * thread.c (struct thread_info): Add new fields for thread specific state saved/restored in infrun.c. (add_thread): Initialize new fields. (load_infrun_state): New function. (save_infrun_state): New function. * thread.h (load_infrun_state): Provide external decl. (save_infrun_state): Likewise. More single-stepping patches for lynx-6100.
1995-07-04 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):Ian Lance Taylor2-2/+23
Handle etree_provide. PR 7164.
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 * infrun.c (wait_for_inferior): When we hit a breakpoint for theJeff Law3-23/+81
wrong thread, make sure to write the fixed PC value into the thread that stopped. Restart all threads after single stepping over a breakpoint for a different thread. * breakpoint.c (set_momentary_breakpoint): Make momentary breakpoints thread specific in a multi-threaded program. * lynx-nat.c (child_resume): Add some comments. Correctly choose between the single and multi-threaded step and continue ptrace calls. Some of the lynx-6100 single stepping fixes.
1995-07-04 * emultempl/elf32.em (global_needed): New static variable.Ian Lance Taylor2-22/+236
(global_found): Likewise. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): Likewise. (gld${EMULATION_NAME}_try_needed): Likewise. (gld${EMULATION_NAME}_check_needed): Likewise. (ld_${EMULATION_NAME}_emulation): Replace after_open_default with gld${EMULATION_NAME}_after_open. PR 7083.
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 * config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.Jeff Law3-12/+89
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocations for the difference of two (possibly external) symbols. (hppa_fix_adjustable): For SOM, reject reductions involving the difference of two symbols. (hppa_force_relocation): Force relocations for expressions involving the difference of two symbols. gas/bfd part of mentor-7363
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-03 * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.Steve Chamberlain1-42/+48
* config.sub, configure.in (win32): New target and host.
1995-07-03 * configure.in (i386-*-win32): New target.Steve Chamberlain1-0/+5
* ld/testsuite/versados/(t1,t2).ld: End in newlines.
1995-07-03 * configure[.in] (i386-*-win32): New host and target.Steve Chamberlain3-4/+12
1995-07-03Renamed.Steve Chamberlain2-9/+8
1995-07-03Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-6/+21
* configure.in (i386-*-win32): New configuration. * dlltool.c (killat, xlate, usage, long_options, main): Understand and cope with -k option.
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 * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.Steve Chamberlain2-11/+36
* configure.in (win32): New target and host.
1995-07-03 * lexsup.c (parse_args): Let -G either set the small data size orIan Lance Taylor2-1/+31
be equivalent to --shared, depending on the next argument. Accept and ignore -z for Solaris compatibility. PR 7118.
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-03start-sanitize-arcIan Lance Taylor1-9/+24
Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com> * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o. end-sanitize-arc
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