aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-07 * read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.Ian Lance Taylor2-1/+3
PR 5167.
1995-07-07 * elfread.c (elf_symtab_read): Fix a bug ignoring compilerKung Hsu1-1/+1
generated internal labels ($LM...).
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-07 * config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, setIan Lance Taylor1-0/+10
BSF_FUNCTION. (symbol_globalP, symbol_global_lastP): New global variables. (yank_symbols): Sort defined global symbols to the end, just before the undefined symbols. (glue_symbols): Add two arguments, and use them instead of referring directly to global variables. (crawl_symbols): Call glue_symbols twice, once for defined globals and once for undefined. Add corresponding know calls. PR 5491.
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-2/+2
1995-07-07 * app.c (do_scrub_next_char): Always accept \v. Don't make itIan Lance Taylor3-5/+6
conditional on BACKSLASH_V. * read.c (next_char_of_string): Likewise. * config/obj-bout.h (BACKSLASH_V): Don't define. * config/tc-mips.h (BACKSLASH_V): Don't define. PR 5604.
1995-07-07 Add SPARC ELF PIC support.Ian Lance Taylor3-7/+23
* write.c (fixup_segment): Pass fixP to TC_RELOC_RTSYM_LOC_FIXUP, not fixP->fx_r_type. * config/tc-sparc.c (sparc_pic_code): New global variable. (md_apply_fix): If generating PIC, adjust fx_addnumber for any non PC relative reloc. (tc_gen_reloc): If generating PIC, adjust various reloc types. Remove fx_pcrel assert, since it is no longer true. (md_parse_option): Handle -K PIC. * config/tc-sparc.h (sparc_pic_code): Declare if OBJ_ELF. (TC_RELOC_RTSYM_LOC_FIXUP): Define if OBJ_ELF. (tc_fix_adjustable): Don't adjust PC relative relocs if PIC. * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Take a fixp, not a reloc type. PR 7131.
1995-07-07 * Makefile.in (Makefile): Add dependency on conf.in, so that confIan Lance Taylor1-0/+5
is rebuilt when conf.in changes.
1995-07-07 * configure.in (signaldirs): Define and add to configdirs for allFred Fish4-1886/+34
targets except some specific ones that are known to not support signals. Also clean up formatting. * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals. (signals, sigall): Remove rules to build. * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}: Moved to new gdb.signals directory. * gdb.signals: New test directory. * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp, signals.c signals.exp}: New or moved files.
1995-07-07add final newlineKen Raeburn1-1/+1
1995-07-06fsf address updateKen Raeburn45-245/+445
1995-07-06add trailing newlinesKen Raeburn3-3/+3
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.