aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-10 * aoutx.h (NAME(aout,link_hash_table_create)): Allocate hash tableIan Lance Taylor3-7/+15
using bfd_alloc, not malloc. * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. * i386linux.c (linux_link_hash_table_create): Likewise. * linker.c (_bfd_generic_link_hash_table_create): Likewise. * sunos.c (sunos_link_hash_table_create): Likewise.
1995-07-10 * configure.in: When switching on ${cpu}, use ${cpu}, notIan Lance Taylor1-0/+6
$[target_cpu}, in default case. * configure: Rebuild.
1995-07-10 * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, andIan Lance Taylor5-11/+86
-shared. Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> * ldmain.c (main): Set link_info.symbolic to false. * lexsup.c (parse_args): Handle -Bsymbolic.
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-10Move testsuite ChangeLog entry into testsuite ChangeLog.Ian Lance Taylor1-1/+0
1995-07-10Remove C comment characters from modified FSF address in expect scripts.Ian Lance Taylor1-1/+1
1995-07-10 * ld-versados/versados.exp: If a test fails, report it correctly:Ian Lance Taylor1-0/+38
don't try to run the next test, and don't report a pass as well as a fail.
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-10Remove C comment characters from modified FSF address in expect scripts.Ian Lance Taylor2-2/+2
1995-07-08 * write.c (fixup_segment): Call resolve_symbol_value onIan Lance Taylor1-0/+5
sub_symbolP, in case it isn't in the symbol table. PR 7131.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn63-318/+1505
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.