Fred Fish [Wed, 12 Jul 1995 22:47:39 +0000 (22:47 +0000)]
* configure.in (configdirs): Remove gdb.chill from default list
of subdirs and then add it back in only if doing a native build.
The current chill compiler does not yet work in any cross build.
Ken Raeburn [Wed, 12 Jul 1995 22:00:57 +0000 (22:00 +0000)]
fix some compilation warnings from sun cc
Ken Raeburn [Wed, 12 Jul 1995 20:45:57 +0000 (20:45 +0000)]
fix more compilation bugs
Fred Fish [Wed, 12 Jul 1995 17:27:40 +0000 (17:27 +0000)]
* Revert all signal changes from Jul 6.
* gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
for sh-hms targets, allowing these tests to link, with no other
changes. Testing is suppressed by setting "nosignals" in site.exp.
Ian Lance Taylor [Wed, 12 Jul 1995 15:37:12 +0000 (15:37 +0000)]
* ldemul.h (ldemul_open_dynamic_archive): Add search parameter to
declaration.
(ld_emulation_xfer_type): Add search parameter to
open_dynamic_archive entry point.
* ldemul.c (ldemul_open_dynamic_archive): Add search parameter.
* ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and
make non-static. Change all callers to use new name.
(ldfile_open_file_search): Make static. If entry is dynamic, call
ldemul_open_dynamic_archive.
(ldfile_open_file): Don't call ldemul_open_dynamic_archive.
* ldfile.h (ldfile_open_file_search): Don't declare.
(ldfile_try_open_bfd): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Accept search parameter. Don't search for a library, just look in
a single place.
* emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
Likewise.
Ian Lance Taylor [Wed, 12 Jul 1995 14:44:46 +0000 (14:44 +0000)]
* objdump.c (dump_section_stabs): Only print each stabs section
once.
(compare_relocs): Make it clear to gcc that this always returns a
value.
Ian Lance Taylor [Wed, 12 Jul 1995 14:42:08 +0000 (14:42 +0000)]
Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com>
* objcopy.c (simple_copy): Preserve errno on failure.
(smart_rename): Print error mesage if simple_copy fails.
Ken Raeburn [Wed, 12 Jul 1995 05:07:49 +0000 (05:07 +0000)]
Initial autoconfiscation; attempting also to remove use of bfd's sysdep.h file.
Ken Raeburn [Wed, 12 Jul 1995 04:29:47 +0000 (04:29 +0000)]
* libelf.h (elf_backend_data): Use unsigned, not unsigned char, for bitfields.
Ian Lance Taylor [Wed, 12 Jul 1995 01:23:10 +0000 (01:23 +0000)]
* elf.c (bfd_section_from_shdr): In case SHT_REL[A], only get the
BFD section for the sh_link section if it is a SYMTAB section.
PR 7392.
Ian Lance Taylor [Tue, 11 Jul 1995 21:22:17 +0000 (21:22 +0000)]
* aoutx.h (NAME(aout,link_add_symbols)): Don't bother to check
that archives hold a.out objects.
* cf-i386lynx.c (coff_bfd_link_add_symbols): Don't define.
(lynx_link_add_symbols): Remove.
* cf-m68klynx.c (coff_bfd_link_add_symbols): Don't define.
(lynx_link_add_symbols): Remove.
* elflink.h (elf_bfd_link_add_symbols): Don't bother to check that
archives hold ELF objects.
Ian Lance Taylor [Tue, 11 Jul 1995 21:12:41 +0000 (21:12 +0000)]
* archive.c (bfd_generic_archive_p): If the archive has a map, and
the target was defaulted, but the first object in the archive can
not be matched with that target, then return a bad format error.
Ian Lance Taylor [Tue, 11 Jul 1995 20:16:48 +0000 (20:16 +0000)]
* elf64-sparc.c (elf_sparc_howto_table): Set howto for WDISP16 to
elf64_wdisp16_reloc.
(elf64_wdisp16_reloc): New static function.
(elf64_sparc_relocate_section): New static function.
(elf_backend_relocate_section): Define.
PR 7333.
Ian Lance Taylor [Tue, 11 Jul 1995 19:24:46 +0000 (19:24 +0000)]
* libelf.h (struct elf_size_info): Change type of last argument to
swap_symbol_out from char * to PTR.
(bfd_elf32_swap_symbol_out): Update declaration.
(bfd_elf64_swap_symbol_out): Likewise.
* elfcode.h (elf_swap_symbol_out): Change type of cdst from char *
to PTR.
* elf.c (swap_out_syms): Cast to PTR, not char *, when calling
swap_symbol_out routine.
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Likewise.
(elf_link_output_sym): Likewise.
(elf_link_output_extsym): Likewise.
* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Likewise.
Ian Lance Taylor [Tue, 11 Jul 1995 18:32:16 +0000 (18:32 +0000)]
* doc/c-mips.texi: Document -m4010 and -mno-4010.
Ian Lance Taylor [Tue, 11 Jul 1995 18:30:25 +0000 (18:30 +0000)]
Tue Jul 11 14:28:55 1995 Jeff Spiegel <jeffs@lsil.com>
* config/tc-mips.c (mips_4010): New static variable.
(interlocks): New static variable.
(md_begin): Check for a cpu of "r4010". Set mips_4010 correctly.
If mips_4650 or mips_4010, set interlocks.
(append_insn): Check interlocks, not mips_4650.
(mips_emit_delays): Likewise.
(mips_ip): Only permit INSN_4010 instructions if mips_4010.
(md_longopts): Add "m4010" and "no-m4010".
(md_parse_option): Accept -mcpu=r4010. Handle -m4010 and
-no-m4010.
(md_show_usage): Document -m4010 and -no-m4010.
Ian Lance Taylor [Tue, 11 Jul 1995 18:25:27 +0000 (18:25 +0000)]
Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
* mips-opc.c (L1): Define.
(mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
and wb.
Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
* mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
if ISA 3 and addu otherwise, replacing or, since some MIPS chips
have multiple add units but only a single logical unit.
Ian Lance Taylor [Tue, 11 Jul 1995 17:26:08 +0000 (17:26 +0000)]
* ecoff.c (struct efdr): Add new field fake.
(init_file): Initialize fake.
(add_file): Add new parameter fake. Change all callers.
(ecoff_build_debug): Don't warn about a missing .end for a fake
file.
PR 6509.
Ian Lance Taylor [Tue, 11 Jul 1995 16:31:39 +0000 (16:31 +0000)]
Tue Jul 11 12:29:49 1995 Rick Sladkey <jrs@world.std.com>
* elf.c (_bfd_elf_find_nearest_line): Handle the simple case where
there is no debugging information.
Ian Lance Taylor [Tue, 11 Jul 1995 16:30:02 +0000 (16:30 +0000)]
* ldmisc.c (vfinfo): Don't print the line number if it isn't
meaningful.
Ian Lance Taylor [Tue, 11 Jul 1995 15:52:03 +0000 (15:52 +0000)]
* ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
shifted by 18, without any insertion or extraction function.
(insert_cr, extract_cr): Remove.
Ian Lance Taylor [Mon, 10 Jul 1995 22:16:12 +0000 (22:16 +0000)]
* ld.h (ld_config_type): Add field warn_constructors.
* ldmain.c (add_to_set): Warn if config.warn_constructors.
(constructor_callback): Likewise.
* lexsup.c (parse_args): Handle -warn-constructors.
* ld.texinfo, ld.1: Document -warn-constructors.
PR 7406.
Ian Lance Taylor [Mon, 10 Jul 1995 22:01:03 +0000 (22:01 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't
get confused by directory names if we searched for the file.
PR 7401.
Ian Lance Taylor [Mon, 10 Jul 1995 21:16:40 +0000 (21:16 +0000)]
Based on patches from H.J. Lu <hjl@nynexst.com>:
* ldlang.h (lang_input_statement_type): Add new field dynamic.
* ldlang.c (new_afile): Set dynamic from config.dynamic_link.
* ldfile.c: Include bfdlink.h.
(ldfile_open_file): Check dynamic field of entry, not global
dynamic_link field. Don't do a dynamic search when doing a
relocateable link.
* ldmain.c (main): Don't warn about dynamic_link for a
relocateable link.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if
dynamic is false.
(gld${EMULATION_NAME}_create_output_section_statements): Always
loop over input files.
* Makefile.in: Rebuild dependencies.
Ken Raeburn [Mon, 10 Jul 1995 20:54:42 +0000 (20:54 +0000)]
split cpu-specific documentation out to separate files
Ken Raeburn [Mon, 10 Jul 1995 20:49:45 +0000 (20:49 +0000)]
* read.c (po_hash): Now static.
Ian Lance Taylor [Mon, 10 Jul 1995 19:01:21 +0000 (19:01 +0000)]
Based on patches from H.J. Lu <hjl@nynexst.com>:
* config/tc-i386.c (md_apply_fix3): Rename from md_apply_fix1.
Accept pointer to value and segment. Fix OBJ_ELF PCREL case to
handle global defined symbols correctly.
(md_apply_fix): Remove both versions.
* config/tc-i386.h (MD_APPLY_FIX3): Define.
Ian Lance Taylor [Mon, 10 Jul 1995 18:24:39 +0000 (18:24 +0000)]
* coff-arm.c (PCRELOFFSET): Define if not already defined.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add coff-arm.o
(CFILES): Add coff-arm.c, pe-arm.c, pei-arm.c.
Ian Lance Taylor [Mon, 10 Jul 1995 18:16:25 +0000 (18:16 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Remove unused
local i.
* coff-arm.c (coff_arm_rtype_to_howto): Don't declare.
Ian Lance Taylor [Mon, 10 Jul 1995 18:11:13 +0000 (18:11 +0000)]
* coff-i960.c (coff_i960_relocate): Correct typo: use ! on strcmp,
not on string.
Ian Lance Taylor [Mon, 10 Jul 1995 18:07:17 +0000 (18:07 +0000)]
* aoutx.h (NAME(aout,link_hash_table_create)): Allocate hash table
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.
Ian Lance Taylor [Mon, 10 Jul 1995 17:48:48 +0000 (17:48 +0000)]
* configure.in: When switching on ${cpu}, use ${cpu}, not
$[target_cpu}, in default case.
* configure: Rebuild.
Ian Lance Taylor [Mon, 10 Jul 1995 17:41:13 +0000 (17:41 +0000)]
* ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and
-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.
Ian Lance Taylor [Mon, 10 Jul 1995 17:31:31 +0000 (17:31 +0000)]
Based on patches from Eric Youngdale <eric@aib.com>:
* 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.
Ken Raeburn [Mon, 10 Jul 1995 15:48:58 +0000 (15:48 +0000)]
add binary.o, tekhex.o
Ian Lance Taylor [Mon, 10 Jul 1995 15:18:38 +0000 (15:18 +0000)]
Move testsuite ChangeLog entry into testsuite ChangeLog.
Ian Lance Taylor [Mon, 10 Jul 1995 15:16:41 +0000 (15:16 +0000)]
Remove C comment characters from modified FSF address in expect scripts.
Ian Lance Taylor [Mon, 10 Jul 1995 15:15:10 +0000 (15:15 +0000)]
* ld-versados/versados.exp: If a test fails, report it correctly:
don't try to run the next test, and don't report a pass as well as
a fail.
Ian Lance Taylor [Mon, 10 Jul 1995 15:12:33 +0000 (15:12 +0000)]
* config/m68k-coff.mt (SELECT_VECS): Rename from SELECT_VECTORS.
Correct elements to be actual BFD vector names.
Ian Lance Taylor [Mon, 10 Jul 1995 15:11:15 +0000 (15:11 +0000)]
* Makefile.in (Makefile): Don't depend upon @frags@.
(config.status): Depend upon @frags@.
Ian Lance Taylor [Mon, 10 Jul 1995 15:01:16 +0000 (15:01 +0000)]
Remove C comment characters from modified FSF address in expect scripts.
Ian Lance Taylor [Sat, 8 Jul 1995 17:29:04 +0000 (17:29 +0000)]
* write.c (fixup_segment): Call resolve_symbol_value on
sub_symbolP, in case it isn't in the symbol table.
PR 7131.
Ken Raeburn [Fri, 7 Jul 1995 22:49:42 +0000 (22:49 +0000)]
fsf address update, but not in COPYING files
Ian Lance Taylor [Fri, 7 Jul 1995 22:42:13 +0000 (22:42 +0000)]
* read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
PR 5167.
Kung Hsu [Fri, 7 Jul 1995 21:44:57 +0000 (21:44 +0000)]
* elfread.c (elf_symtab_read): Fix a bug ignoring compiler
generated internal labels ($LM...).
Ian Lance Taylor [Fri, 7 Jul 1995 21:40:56 +0000 (21:40 +0000)]
* coffgen.c (coff_renumber_symbols): Sort defined symbols that are
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.
Ken Raeburn [Fri, 7 Jul 1995 21:34:08 +0000 (21:34 +0000)]
clean up new config stuff for mostlyclean, distclean
Ian Lance Taylor [Fri, 7 Jul 1995 21:29:54 +0000 (21:29 +0000)]
* config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, set
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.
Ken Raeburn [Fri, 7 Jul 1995 21:20:34 +0000 (21:20 +0000)]
clean up new config stuff for mostlyclean, distclean
Ian Lance Taylor [Fri, 7 Jul 1995 20:10:27 +0000 (20:10 +0000)]
* app.c (do_scrub_next_char): Always accept \v. Don't make it
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.
Ian Lance Taylor [Fri, 7 Jul 1995 17:03:21 +0000 (17:03 +0000)]
Add SPARC ELF PIC support.
* 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.
Ian Lance Taylor [Fri, 7 Jul 1995 15:18:31 +0000 (15:18 +0000)]
* Makefile.in (Makefile): Add dependency on conf.in, so that conf
is rebuilt when conf.in changes.
Fred Fish [Fri, 7 Jul 1995 04:11:42 +0000 (04:11 +0000)]
* configure.in (signaldirs): Define and add to configdirs for all
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.
Ken Raeburn [Fri, 7 Jul 1995 02:19:13 +0000 (02:19 +0000)]
add final newline
Ken Raeburn [Thu, 6 Jul 1995 21:18:08 +0000 (21:18 +0000)]
fsf address update
Ken Raeburn [Thu, 6 Jul 1995 20:49:14 +0000 (20:49 +0000)]
add trailing newlines
Ken Raeburn [Thu, 6 Jul 1995 20:48:16 +0000 (20:48 +0000)]
add trailing newline
Ian Lance Taylor [Thu, 6 Jul 1995 20:39:31 +0000 (20:39 +0000)]
Patches from Jerry Blakely <gerry_blakley@wellfleet.com>:
* 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.
Ian Lance Taylor [Thu, 6 Jul 1995 19:40:51 +0000 (19:40 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Revert May 24 patch.
Don't copy PC32 reloc against section into shared object.
PR 6997, 7381.
Ian Lance Taylor [Thu, 6 Jul 1995 18:39:19 +0000 (18:39 +0000)]
* Makefile.in: Rebuild dependencies.
(CFILES): Added elflink.c.
(Makefile): Depend upon config.status, not configure.in.
(config.status): New target; depend upon configure configure.host
and config.bfd.
Ian Lance Taylor [Thu, 6 Jul 1995 18:36:55 +0000 (18:36 +0000)]
* config/tc-sparc.c (s_reserve): Don't permit redefinition, even
if the symbol was already in bss_section. Fix warning message.
PR 6797.
Ian Lance Taylor [Thu, 6 Jul 1995 18:00:09 +0000 (18:00 +0000)]
* listing.c (struct file_info_struct): Rename end_pending field to
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.
Ken Raeburn [Thu, 6 Jul 1995 17:12:22 +0000 (17:12 +0000)]
copyright notices
Ken Raeburn [Thu, 6 Jul 1995 17:03:40 +0000 (17:03 +0000)]
no more configure.in
Ken Raeburn [Thu, 6 Jul 1995 17:03:06 +0000 (17:03 +0000)]
keep configure; clean elf.c not elfcode.h for arc
Ian Lance Taylor [Thu, 6 Jul 1995 16:59:29 +0000 (16:59 +0000)]
* config/tc-alpha.h (alpha_do_align): Don't declare.
(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.
Ken Raeburn [Thu, 6 Jul 1995 02:59:06 +0000 (02:59 +0000)]
clean configure when cleaning configure.in
Ken Raeburn [Thu, 6 Jul 1995 02:58:40 +0000 (02:58 +0000)]
regenerate conf.in with autoreconf
Ken Raeburn [Thu, 6 Jul 1995 02:52:44 +0000 (02:52 +0000)]
more vms fixes from Pat Rankin
Ken Raeburn [Thu, 6 Jul 1995 02:28:46 +0000 (02:28 +0000)]
* Makefile.in (BFD_LIBS): No, don't put elflink.o here.
* configure.in: Include it here whenever elf.o is specified.
Ken Raeburn [Thu, 6 Jul 1995 02:22:00 +0000 (02:22 +0000)]
Added new files elflink.c, elflink.h, elfcore.h.
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.
J.T. Conklin [Wed, 5 Jul 1995 23:51:30 +0000 (23:51 +0000)]
forgot to check this in
J.T. Conklin [Wed, 5 Jul 1995 23:39:33 +0000 (23:39 +0000)]
* Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.
J.T. Conklin [Wed, 5 Jul 1995 23:36:48 +0000 (23:36 +0000)]
* Makefile.in (distclean, mostlyclean, realclean): Remove autoconf files.
J.T. Conklin [Wed, 5 Jul 1995 23:19:07 +0000 (23:19 +0000)]
* w65.mt: Removed.
J.T. Conklin [Wed, 5 Jul 1995 23:18:25 +0000 (23:18 +0000)]
* arm.mt: Removed.
J.T. Conklin [Wed, 5 Jul 1995 23:17:43 +0000 (23:17 +0000)]
* sh.mt: Removed.
J.T. Conklin [Wed, 5 Jul 1995 23:16:38 +0000 (23:16 +0000)]
* h8300.mt: Removed.
J.T. Conklin [Wed, 5 Jul 1995 23:10:29 +0000 (23:10 +0000)]
* Makefile.in (all, clean, distclean, mostlyclean, realclean,
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.
J.T. Conklin [Wed, 5 Jul 1995 22:54:10 +0000 (22:54 +0000)]
* Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.
Kung Hsu [Wed, 5 Jul 1995 22:35:30 +0000 (22:35 +0000)]
* defs.h: if __GO32__ or WIN32 the directory separating symbol should
be '\' not '/'.
Ian Lance Taylor [Wed, 5 Jul 1995 21:52:10 +0000 (21:52 +0000)]
* config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
(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.
Ian Lance Taylor [Wed, 5 Jul 1995 21:47:07 +0000 (21:47 +0000)]
* conf.in: Add undef of HAVE_SBRK.
Ian Lance Taylor [Wed, 5 Jul 1995 20:54:57 +0000 (20:54 +0000)]
* elf32-mips.c (mips_elf_object_p): Unconditionally set
elf_bad_symtab, since sometimes the symbol table is messed up and
the last symbol is global.
PR 6921.
Ian Lance Taylor [Wed, 5 Jul 1995 20:31:31 +0000 (20:31 +0000)]
* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
PR 7006.
Ian Lance Taylor [Wed, 5 Jul 1995 19:59:07 +0000 (19:59 +0000)]
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
(S_CLEAR_EXTERNAL): Likewise.
(S_SET_WEAK): Warn if symbol is global.
PR 6750.
Ian Lance Taylor [Wed, 5 Jul 1995 19:04:58 +0000 (19:04 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
to put an undefined symbol into a set.
PR 6340.
Kung Hsu [Wed, 5 Jul 1995 18:41:40 +0000 (18:41 +0000)]
* remote-nindy (nindy_wait): Use infinite timeout reading after
esacpe character.
Ian Lance Taylor [Wed, 5 Jul 1995 17:56:52 +0000 (17:56 +0000)]
* Makefile.in: Remove @configure_input@; it's not needed in
files named Makefile.
Ian Lance Taylor [Wed, 5 Jul 1995 17:13:16 +0000 (17:13 +0000)]
* config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
explicit pseudo-op works, while continuing to treat "set" as an
instruction.
PR 5199.
Ian Lance Taylor [Wed, 5 Jul 1995 16:31:07 +0000 (16:31 +0000)]
* ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
* 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.
Ian Lance Taylor [Wed, 5 Jul 1995 16:25:44 +0000 (16:25 +0000)]
Correct last change
Ian Lance Taylor [Wed, 5 Jul 1995 16:10:50 +0000 (16:10 +0000)]
* ecoff.c (ecoff_debugging_seen): New global variable.
(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.
Ian Lance Taylor [Wed, 5 Jul 1995 14:34:12 +0000 (14:34 +0000)]
* configure.in: Use $ac_config_sub, not $configsub.
* configure: Likewise.
Ken Raeburn [Wed, 5 Jul 1995 09:47:20 +0000 (09:47 +0000)]
don't define FASCIST_FDOPEN for i386aix host
Ken Raeburn [Wed, 5 Jul 1995 09:38:09 +0000 (09:38 +0000)]
fix usage message on --enable options
Ken Raeburn [Wed, 5 Jul 1995 09:32:47 +0000 (09:32 +0000)]
autoconfiscation
Fred Fish [Wed, 5 Jul 1995 08:04:28 +0000 (08:04 +0000)]
* as.c (main): Only use sbrk when HAVE_SBRK defined.
* configure.in: Add test for sbrk.
* configure: Regenerate using autoconf 2.4.
Fred Fish [Wed, 5 Jul 1995 07:47:43 +0000 (07:47 +0000)]
* ldmain.c (HAVE_SBRK): Define for everything except
specific systems that are known to not support sbrk.
(main): Use HAVE_SBRK to decide whether or not to use sbrk.
Ian Lance Taylor [Tue, 4 Jul 1995 21:05:23 +0000 (21:05 +0000)]
* nm.c (size_forward): Check yf against yn, not xn.
PR 7276.
This page took 0.039593 seconds and 4 git commands to generate.