aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-06add trailing newlineKen Raeburn1-0/+14
1995-07-06 Patches from Jerry Blakely <gerry_blakley@wellfleet.com>:Ian Lance Taylor5-46/+97
* as.c (listing_filename): New static variable. (show_usage): Mention -a=file. (parse_args): Support = option of -a to set name of listing file. (main): Pass listing_filename to listing_print. * listing.c (list_file): New static variable. (various): Replace printf with fprintf to list_file. (listing_print): If name argument is not NULL, open it as list_file. * doc/as.texinfo, doc/as.1: Document -a=file. PR 6354.
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-06 * config/tc-sparc.c (s_reserve): Don't permit redefinition, evenIan Lance Taylor2-3/+6
if the symbol was already in bss_section. Fix warning message. PR 6797.
1995-07-06 * listing.c (struct file_info_struct): Rename end_pending field toIan Lance Taylor2-21/+18
at_end. (file_info): Initialize at_end, not end_pending. (buffer_line): If at_end set, just return immediately. Don't worry about end_pending cases. Set at_end when EOF is read. (print_source): Check at_end, not end_pending. (listing_listing): Likewise. PR 6636.
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-06 * config/tc-alpha.h (alpha_do_align): Don't declare.Ian Lance Taylor3-35/+247
(md_do_align): Don't define. (tc_frob_label): Define. (alpha_define_label): Declare. (md_flush_pending_output): Define. (alpha_flush_pending_output): Declare. * config/tc-alpha.c (insn_label): New static variable. (auto_align): New static variable. (md_pseudo_table): Add cases for .text, .data, .align, .byte, .hword, .int, .long, .octa, .quad, .short, .word, .double, .float, and .single. Change .t_floating, .s_floating, .f_floating, .g_floating, and .d_floating to use s_alpha_float_cons rather than float_cons. (s_alpha_text, s_alpha_data): New static functions. (s_rdata, s_sdata): Clear insn_label and set auto_align. (s_gprel32): If auto_align, align. Clear insn_label. (emit_insn): Clear insn_label. (s_alpha_align): New static function. (alpha_align): Make static. Take label argument. (alpha_flush_pending_output): New static function. (s_alpha_cons, s_alpha_float_cons): New static functions. (alpha_define_label): New function. PR 7148.
1995-07-06clean configure when cleaning configure.inKen Raeburn1-2/+2
1995-07-06regenerate conf.in with autoreconfKen Raeburn2-3/+5
1995-07-06more vms fixes from Pat RankinKen Raeburn3-106/+197
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-05forgot to check this inJ.T. Conklin1-22/+19
1995-07-05* Makefile.in, configure.in: converted to autoconf.J.T. Conklin3-0/+179
* configure: New file, generated with autconf 2.4.
1995-07-05* Makefile.in (distclean, mostlyclean, realclean): Remove autoconf files.J.T. Conklin2-2/+6
1995-07-05* w65.mt: Removed.J.T. Conklin3-4/+4
1995-07-05* arm.mt: Removed.J.T. Conklin3-4/+4
1995-07-05* sh.mt: Removed.J.T. Conklin3-5/+2
1995-07-05* h8300.mt: Removed.J.T. Conklin3-5/+2
1995-07-05* Makefile.in (all, clean, distclean, mostlyclean, realclean,J.T. Conklin1-13/+0
install): Changed targets so that they descend all subdirectories in $(SUBDIRS). (*-all, *-clean, *-install): Removed targets. * configure.in: Don't bother with target makefile fragments, they are no longer needed. * configure: regenerated.
1995-07-05* Makefile.in, configure.in: converted to autoconf.J.T. Conklin13-229/+1115
* configure: New file, generated with autconf 2.4.
1995-07-05 * defs.h: if __GO32__ or WIN32 the directory separating symbol shouldKung Hsu1-0/+3
be '\' not '/'.
1995-07-05 * config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.Ian Lance Taylor4-58/+85
(md_parse_option): If OBJ_ELF, check for -K. Die if -K PIC, since PIC code is not currently supported. * as.c (parse_args): Change std_shortopts to be an array rather than a constant string. Only include 'K' if WORKING_DOT_WORD is not defined. Only check for 'K' in that case as well. * as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD is not defined. PR 7131.
1995-07-05 * conf.in: Add undef of HAVE_SBRK.Ian Lance Taylor2-0/+5
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.