Ken Raeburn [Wed, 7 Sep 1994 23:52:31 +0000 (23:52 +0000)]
Don't set bfd_gas for i386-linux a.out configurations.
Ian Lance Taylor [Wed, 7 Sep 1994 23:41:58 +0000 (23:41 +0000)]
* libelf.h (struct elf_backend_data): Change second argument of
elf_backend_final_write_processing hook to boolean.
(struct elf_obj_tdata): Add linker field.
* elfcode.h (NAME(bfd_elf,write_object_contents)): Pass value of
tdata linker field to final_write_processing, rather than NULL.
(elf_bfd_final_link): Don't call final_write_processing hook. Set
tdata linker field to true.
* elf32-mips.c (mips_elf_final_write_processing): Change type of
second argument to boolean.
* elf32-hppa.c (elf32_hppa_backend_final_write_processing):
Likewise.
Ken Raeburn [Wed, 7 Sep 1994 23:34:23 +0000 (23:34 +0000)]
Update for autoconf beta 1.112:
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New macros.
* configure.in: Use them. Use AC_ARG_PROGRAM (now provided by autoconf)
instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME. Move test for CROSS_COMPILE
just before AC_FUNC_ALLOCA, and emit a message to try to ease confusion about
autoconf's "cross-compiling" message.
* acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE,
NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION.
* configure, conf.in: Regenerated.
Ian Lance Taylor [Wed, 7 Sep 1994 23:16:23 +0000 (23:16 +0000)]
* coff-go32.c (RTYPE2HOWTO): Fully parenthesize arguments.
* coff-i960.c (RTYPE2HOWTO): Likewise.
* coff-m88k.c (RTYPE2HOWTO): Likewise.
* coff-we32k.c (RTYPE2HOWTO): Likewise.
Make i386 COFF use new COFF backend linker.
* coff-i386.c (RTYPE2HOWTO): Fully parenthesize arguments.
(coff_relocate_section): Define.
(coff_i386_rtype_to_howto): New function.
* configure.in (i386coff_vec): Use cofflink.o.
(i386lynx_coff_vec): Likewise.
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_rtype_to_howto.
(bfd_coff_rtype_to_howto): Define.
(coff_rtype_to_howto): Define to use RTYPE2HOWTO, if not already
defined.
(bfd_coff_std_swap_table): Initialize new field.
* cofflink.c (_bfd_coff_final_link): Allocate section_count + 1
section_info structures, since the target_index is 1 based.
(coff_link_input_bfd): Set *secpp to bfd_com_section_ptr for a
common symbol. Adjust rel_hash by the output reloc count.
(_bfd_coff_generic_relocate_section): New function.
* libcoff-in.h (_bfd_coff_generic_relocate_section): Declare.
* libcoff.h: Rebuild.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
Ian Lance Taylor [Wed, 7 Sep 1994 16:53:27 +0000 (16:53 +0000)]
* configure.in: Check ${host} and ${target} rather than
${host_canon} and ${target_canon}.
* configure: Likewise.
Per Bothner [Wed, 7 Sep 1994 06:23:05 +0000 (06:23 +0000)]
* config.sub: Merge nextstep cleanup from FSF.
Jeff Law [Wed, 7 Sep 1994 05:39:13 +0000 (05:39 +0000)]
* som.c (som_bfd_derive_misc_symbol_info): Treat undefined code
symbols and undefined symbols which no type in the same manner
if the associated BFD symbol has BSF_FUNCTION set. For a defined
symbol which no type, select a SOM type based on the flags of the
section containing the symbol.
(som_slurp_symbol_type): Set BSF_FUNCTION for undefined ST_STUB
or ST_CODE symbols (importing a non-function code symbol is
meaningless in SOM).
(som_set_reloc_info): Don't set "offset" to the section's vma; it
should always start at zero.
Ian Lance Taylor [Wed, 7 Sep 1994 03:57:59 +0000 (03:57 +0000)]
x
Ian Lance Taylor [Wed, 7 Sep 1994 03:57:09 +0000 (03:57 +0000)]
* scripttempl/m68kcoff.sc: Put .bss in data segment.
* scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of
0, and to only be marked as NOLOAD if relocating.
* scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise.
* scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise.
* scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise.
* scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise.
* scripttempl/sparclynx.sc: Likewise.
Stan Shebs [Wed, 7 Sep 1994 00:23:16 +0000 (00:23 +0000)]
* c-typeprint.c (c_type_print_varspec_prefix,
c_type_print_varspec_suffix): Add cases for Fortran type codes.
* eval.c (evaluate_subexp): For OP_ARRAY expressions in Fortran,
call f77_value_literal_string instead.
* f_exp.y: Include <string.h>, move include of parser-defs.h.
(parse_number): Translate 'd' floats to 'e' so atof() works.
(yylex): Remove unused variables.
* f-lang.c: Include <string.h>.
(get_bf_for_fcn): Remove unused variable.
* f-typeprint.c (f_type_print_varspec_prefix,
f_type_print_varspec_suffix): Remove unused
variables, add cases to switch statements.
(f_type_print_base): Remove unused variables.
* f-valprint.c (gdbcore.h, command.h): Include.
(f77_get_dynamic_lowerbound, f77_get_dynamic_upperbound):
Call read_memory_integer with correct number of arguments.
(f77_get_dynamic_upperbound): Call f77_get_dynamic_lowerbound
with correct argument type.
(f77_print_array): Removed unused array array_size_array.
(f_val_print): Don't use a CORE_ADDR as a char *.
* valops.c (value_cast): Handle COMPLEX and BOOL types.
(value_assign): Handle Fortran literal string and complex values.
(f77_cast_into_complex, f77_assign_from_literal_string,
f77_assign_from_literal_complex): New functions.
Ian Lance Taylor [Tue, 6 Sep 1994 20:40:37 +0000 (20:40 +0000)]
Minor tweaks to make COFF code support both new and old style linker.
Per Bothner [Tue, 6 Sep 1994 20:23:16 +0000 (20:23 +0000)]
* pr-5016.ch, pr-5016.exp, Makefile.in: New testcase.
* Makefile.in (.exe.check): New rule, to run just one test.
Per Bothner [Tue, 6 Sep 1994 20:17:29 +0000 (20:17 +0000)]
Note fix to lib/gdb.exp.
Ian Lance Taylor [Tue, 6 Sep 1994 19:28:55 +0000 (19:28 +0000)]
Add new style linker support to COFF backend. a29k only for now.
* cofflink.c: New file.
* libcoff-in.h: Include bfdlink.h.
(obj_coff_external_syms, obj_coff_strings): Define accessor macro.
(obj_coff_sym_hashes): Define accessor macro.
(struct coff_tdata): Add fields external_syms, strings, and
sym_hashes.
(struct coff_link_hash_entry): Define.
(struct coff_link_hash_table): Define.
(coff_link_hash_lookup, coff_link_hash_traverse): Define.
(coff_hash_table): Define.
(_bfd_coff_link_hash_table_create): Declare.
(_bfd_coff_link_add_symbols, _bfd_coff_final_link): Declare.
* coffcode.h (bfd_coff_backend_data): Add fields _bfd_relsz,
_bfd_coff_swap_reloc_in, _bfd_coff_sym_is_global,
_bfd_coff_compute_section_file_positions,
_bfd_coff_relocate_section.
(bfd_coff_relsz, bfd_coff_swap_reloc_in): Define.
(bfd_coff_sym_is_global): Define.
(bfd_coff_compute_section_file_positions): Define.
(bfd_coff_relocate_section): Define.
(coff_mkobject_hook): Initialize obj_raw_syment_count and
obj_conv_table_size.
(coff_compute_section_file_positions): Set target_index of all
sections. Set output_has_begun field.
(coff_write_object_contents): Don't set target_index; now done by
coff_compute_section_file_positions. Remove obsolete handling of
scn_base and data_base. Don't bother to check that target_index
is positive, since it always is. Remove use of pad, which is
always zero. Check obj_raw_syment_count, not bfd_get_symcount,
for the number of symbols, but only write them out if
bfd_get_symcount is non-zero.
(coff_slurp_symbol_table): Use obj_raw_syment_count, not
bfd_get_symcount for the number of symbols. Don't set
obj_conv_table_size.
(coff_sym_is_global): New static function or macro.
(coff_slurp_reloc_table): Call coff_swap_reloc_in, not
bfd_swap_reloc_in.
(coff_bfd_link_hash_table_create): If coff_relocate_section is
defined, define as _bfd_coff_link_hash_table_create.
(coff_bfd_link_add_symbols): Similar change.
(coff_bfd_final_link): Similar change.
(coff_relocate_section): Define as NULL if not defined.
(bfd_coff_std_swap_table): Initialize new fields.
* coffgen.c (coff_real_object_p): Don't set obj_raw_syment_count
and obj_conv_table_size here.
(coff_count_linenumbers): Reindent. If bfd_get_symcount is zero,
add up the line numbers from the sections.
(coff_write_symbols): Don't set bfd_get_symcount.
(coff_pointerize_aux): Don't pointerize a nonpositive x_endndx
field.
(coff_get_normalized_symtab): Use obj_raw_syment_count, not
bfd_get_symcount.
(coff_print_symbol): If auxp->fix_end, print x_endndx value.
* coffswap.h (coff_swap_reloc_in): Rename from bfd_swap_reloc_in.
Reindent. Change argument type to PTR.
* coff-a29k.c (coff_a29k_relocate_section): New static function.
(coff_relocate_section): Define.
* configure.in (a29kcoff_big_vec): Compile cofflink.o.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new fields.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
* libcoff.h: Rebuilt.
* Makefile.in: Rebuilt dependencies.
(BFD32_BACKENDS): Add cofflink.o.
(CFILES): Add cofflink.c.
Ken Raeburn [Tue, 6 Sep 1994 18:30:06 +0000 (18:30 +0000)]
* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section
symbol, and print its aux fields with appropriate labels.
Ken Raeburn [Tue, 6 Sep 1994 18:03:03 +0000 (18:03 +0000)]
Makefile.in (ALL_MACHINES): ADded cpu-arm.o.
Ian Lance Taylor [Tue, 6 Sep 1994 15:51:09 +0000 (15:51 +0000)]
* config/tc-mips.c (mips_cpu): New static variable.
(insns_since_cache_access): New static variable.
(md_begin): Set mips_cpu as well as mips_isa.
(append_insn): If mips_cpu is 4600, require four nop instructions
between an instruction which accesses the cache and certain CACHE
instructions. Keep track of the number of instructions seen since
an instruction which accesses the cache.
(md_parse_option): Set mips_cpu as well as mips_isa.
PR 5433.
Ian Lance Taylor [Tue, 6 Sep 1994 15:42:11 +0000 (15:42 +0000)]
* mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
which store a value into memory.
PR 5433.
Ian Lance Taylor [Tue, 6 Sep 1994 15:39:52 +0000 (15:39 +0000)]
* mips.h (INSN_STORE_MEMORY): Define.
PR 5433.
Peter Schauer [Tue, 6 Sep 1994 09:26:19 +0000 (09:26 +0000)]
* gdb.c++/demangle.exp (test_arm_style_demangling): Remove
linefeed from expect pattern for repeated types with indices > 9.
Per Bothner [Mon, 5 Sep 1994 21:47:03 +0000 (21:47 +0000)]
* ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGE
case more robust.
This fixes PR 5016.
Ian Lance Taylor [Mon, 5 Sep 1994 19:14:24 +0000 (19:14 +0000)]
Tipos
Ken Raeburn [Mon, 5 Sep 1994 11:21:16 +0000 (11:21 +0000)]
* doc/Makefile.in (VPATH): Define using @srcdir@.
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.
Ken Raeburn [Mon, 5 Sep 1994 10:53:00 +0000 (10:53 +0000)]
ARM Acorn/RISCiX target and host patches from Richard Earnshaw
Stan Shebs [Sun, 4 Sep 1994 23:58:48 +0000 (23:58 +0000)]
* i960-tdep.c (signal.h): Don't include.
Stan Shebs [Sun, 4 Sep 1994 23:49:40 +0000 (23:49 +0000)]
* gdbint.texinfo: Removed mentions of some incorrectly placed and
obsolete conditionals, described some others.
Stan Shebs [Sun, 4 Sep 1994 23:41:20 +0000 (23:41 +0000)]
* cxux-nat.c (target_is_m88110): Remove definition.
Stan Shebs [Sun, 4 Sep 1994 23:18:31 +0000 (23:18 +0000)]
Update to reflect changes in config files
Stan Shebs [Sun, 4 Sep 1994 23:16:22 +0000 (23:16 +0000)]
* configure.in (config/nm-empty.h): If cross only, use instead
of config/nm-trash.h.
* config/nm-trash.h: Remove.
* config/nm-empty.h: New file.
* config/i386/nm-m3.h: New file, includes config/nm-m3.h.
* config/mips/nm-m3.h: New file, includes config/nm-m3.h.
* config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
Stu Grossman [Sat, 3 Sep 1994 02:13:47 +0000 (02:13 +0000)]
* configure.in: Don't ln gdbtk.tcl if it's already there.
Stan Shebs [Sat, 3 Sep 1994 01:15:15 +0000 (01:15 +0000)]
Fix a typo in last change
J.T. Conklin [Sat, 3 Sep 1994 00:45:30 +0000 (00:45 +0000)]
* configure.in: No longer looks for nm, tm, and xm headers in
config/<header>; they are always in config/<cpu>/<header>.
Stan Shebs [Sat, 3 Sep 1994 00:32:08 +0000 (00:32 +0000)]
* objfiles.c (allocate_objfile): Add the newly-created objfile to
the end of the list of objfiles, instead of at the beginning.
* xcoffread.c (allocate_include_entry): New function, abstracted
from code in record_include_begin.
(record_include_begin, record_include_end): Call it.
* blockframe.c (reinit_frame_cache): Test inferior_pid instead of
target_has_stack to decide whether to create a real stack frame
for the cache.
* coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor
section.
* config/m88k/tm-cxux.h (CXUX_TARGET): Define.
* h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
Stu Grossman [Sat, 3 Sep 1994 00:28:05 +0000 (00:28 +0000)]
Add gdbserve.mt.
Stu Grossman [Sat, 3 Sep 1994 00:27:50 +0000 (00:27 +0000)]
Add .Sanitize.
Stu Grossman [Sat, 3 Sep 1994 00:15:20 +0000 (00:15 +0000)]
Add nlm subdir.
Ian Lance Taylor [Fri, 2 Sep 1994 20:42:28 +0000 (20:42 +0000)]
* ecoff.c (add_file): Don't try to generate line numbers if the
symbol table has been frozen.
Ken Raeburn [Fri, 2 Sep 1994 18:21:41 +0000 (18:21 +0000)]
* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"
commands for simultaneous definition of enumerator and enumerator name table.
(bfd_get_reloc_code_name): New function, for retrieving a symbolic name
associated with an enumerator.
* libbfd.h, bfd-in2.h: Regenerated.
J.T. Conklin [Fri, 2 Sep 1994 16:57:11 +0000 (16:57 +0000)]
* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
field names into what is expected by sparc-nat.c.
Ian Lance Taylor [Fri, 2 Sep 1994 16:55:54 +0000 (16:55 +0000)]
* config/unix.exp: If nm.new does not exist, use [transform nm].
* config/default.exp: Likewise.
Per Bothner [Fri, 2 Sep 1994 00:34:43 +0000 (00:34 +0000)]
* c-typeprint.c (c_typedef_print): Add missing Chill support.
Stu Grossman [Thu, 1 Sep 1994 23:02:10 +0000 (23:02 +0000)]
Create a .Sanitize file.
Stu Grossman [Thu, 1 Sep 1994 22:57:32 +0000 (22:57 +0000)]
* rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
* config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC.
* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable
ser-tcp.
* nlm/Makefile.in: Get rid of NWSOURCE.
* nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's.
* nlm/gdbserve.o: Add dummy __main routine.
* nlm/gdbserve.def: Turn on debug.
Stu Grossman [Thu, 1 Sep 1994 22:57:02 +0000 (22:57 +0000)]
* rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
* config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC.
* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable
ser-tcp.
* nlm/Makefile.in: Get rid of NWSOURCE.
* nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's.
* nlm/gdbserve.o: Add dummy __main routine.
* nlm/gdbserve.def: Turn on debug.
Karen Christiansen [Thu, 1 Sep 1994 21:41:38 +0000 (21:41 +0000)]
temporary change so that hppa doesn't build tk
Jim Kingdon [Thu, 1 Sep 1994 19:40:11 +0000 (19:40 +0000)]
* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.
J.T. Conklin [Thu, 1 Sep 1994 18:23:24 +0000 (18:23 +0000)]
Commit again, CVS botched this last time.
J.T. Conklin [Thu, 1 Sep 1994 18:20:42 +0000 (18:20 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
{nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
J.T. Conklin [Thu, 1 Sep 1994 18:17:25 +0000 (18:17 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
{nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
Jeff Law [Thu, 1 Sep 1994 16:53:19 +0000 (16:53 +0000)]
* gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
decls extern to keep native HP compiler quiet.
J.T. Conklin [Thu, 1 Sep 1994 16:42:13 +0000 (16:42 +0000)]
* configure.in (*-*-netware): don't configure libg++, libio, librx, or
newlib.
Ken Raeburn [Thu, 1 Sep 1994 01:35:19 +0000 (01:35 +0000)]
remove alloca stuff from atof-generic.c
Ken Raeburn [Thu, 1 Sep 1994 00:48:30 +0000 (00:48 +0000)]
* as.h (volatile): Don't test or define here; not needed.
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf
documentation. Include config.h first.
Makefile.in (INCLUDES): Deleted last patch (using -I..).
Ken Raeburn [Thu, 1 Sep 1994 00:05:06 +0000 (00:05 +0000)]
autoconf bug fix -- config.status exit status should be 0
Ken Raeburn [Wed, 31 Aug 1994 23:51:38 +0000 (23:51 +0000)]
Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.
Ken Raeburn [Wed, 31 Aug 1994 21:50:38 +0000 (21:50 +0000)]
* Makefile.in (prefix, exec_prefix): Use @-subtitutions.
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has
this fixed.
* configure.in: Don't change quote characters around AC_MSG_ERROR invocation.
Don't use AC_HEADER_STDC, since it requires running a program. Cache
NEED_*_DECLARATION values.
* configure, conf.in: Regenerated with a modified autoconf 1.109.
Jason Molenda [Wed, 31 Aug 1994 21:43:27 +0000 (21:43 +0000)]
Wed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)
* remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory):
change typeo in error msg (`inferrior' -> `inferior').
Jim Kingdon [Wed, 31 Aug 1994 20:42:10 +0000 (20:42 +0000)]
* inflow.c (set_sigint_trap, clear_sigint_trap): Check for
attach_flag (this check was performed by the callers). Also check
inferior_thisrun_terminal.
* inftarg.c (child_wait), lynx-nat.c (child_wait),
procfs.c (wait_fd), symm-nat.c (child_wait): Don't check
attach_flag in deciding whether to call set_sigint_trap and
clear_sigint_trap.
Ian Lance Taylor [Wed, 31 Aug 1994 17:55:49 +0000 (17:55 +0000)]
* configure.in (alpha-dec-osf*): Use osf*, not osf1*. Don't
configure ld--it works, but it doesn't support shared libraries.
Jim Kingdon [Wed, 31 Aug 1994 16:18:50 +0000 (16:18 +0000)]
* value.h (struct value): Change literal_data from PTR to char *,
since that is the way it is used.
Rob Savoye [Wed, 31 Aug 1994 16:03:01 +0000 (16:03 +0000)]
Add HP-Pro as a configuration. This is for the Pro target board line.
Ian Lance Taylor [Wed, 31 Aug 1994 15:35:04 +0000 (15:35 +0000)]
* configure.in, configure: Initialize bfd_gas to no.
Jeff Law [Wed, 31 Aug 1994 03:59:42 +0000 (03:59 +0000)]
* somread.c (som_symfile_read): Force unwinds to be re-read after
reading in a new partial symbol table.
Jeff Law [Wed, 31 Aug 1994 03:30:39 +0000 (03:30 +0000)]
* som.c (som_write_fixups, case R_ENTRY): Handle case where no
unwind descriptor information is available.
Ken Raeburn [Tue, 30 Aug 1994 23:37:15 +0000 (23:37 +0000)]
fix mpw problem with ".." for stan
Stan Shebs [Tue, 30 Aug 1994 20:29:26 +0000 (20:29 +0000)]
* config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
an obsolete conditional.
* config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use,
an obsolete conditional.
* config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up
comments.
Ken Raeburn [Tue, 30 Aug 1994 19:45:05 +0000 (19:45 +0000)]
rewrite sanitize lines so as not to confuse bsd make
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:40 +0000 (16:04 +0000)]
* elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
argument, and use it to set DT_SONAME dynamic entry.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype.
(bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:19 +0000 (16:04 +0000)]
* ld.h (args_type): Add field soname.
* lexsup.c (parse_args): Handle -soname argument.
* emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
pass soname.
* ld.texinfo: Document -soname.
Ian Lance Taylor [Tue, 30 Aug 1994 15:15:09 +0000 (15:15 +0000)]
* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
__gnu_compiled, for the benefit of systems which add a leading
underscore.
Stan Shebs [Mon, 29 Aug 1994 23:58:19 +0000 (23:58 +0000)]
Lose ns32k-opcode.h.
Stan Shebs [Mon, 29 Aug 1994 22:17:09 +0000 (22:17 +0000)]
* Makefile.in (ns32k-opcode.h): Remove reference.
(ns32k-pinsn.o): Update dependencies.
* ns32k-opcode.h: Remove file.
* ns32k-pinsn.c (print_insn): Call version in libopcodes, remove
all other code in this file.
Stu Grossman [Mon, 29 Aug 1994 22:02:57 +0000 (22:02 +0000)]
* nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.
* config/alpha/gdbserve.mt (TDEPFILES): Remove alpha-patch.o.
Stu Grossman [Mon, 29 Aug 1994 21:47:40 +0000 (21:47 +0000)]
* nlm/Makefile.in: Add rule for .S.o.
* nlm/aio.h: Protect from multiple inclusions.
* nlm/alpha-io.S: Remove everything we don't need.
* nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}:
Remove, no longer needed.
* nlm/alpha.c: Merge in lots of stuff from previous files.
* nlm/alpha.h: Don't #include alpha-patch.h. Make
breakpoint_insn extern.
* Move stuff from alpha-patch.h into here.
* config/alpha/gdbserve.mt (TDEPFILES): Get rid of alpha-uart.o.
Stan Shebs [Mon, 29 Aug 1994 21:33:43 +0000 (21:33 +0000)]
Keep Fortran tests
Stan Shebs [Mon, 29 Aug 1994 21:31:48 +0000 (21:31 +0000)]
First part of Fortran test suite.
* gdb.fortran: New directory.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
Ian Lance Taylor [Mon, 29 Aug 1994 20:14:13 +0000 (20:14 +0000)]
* config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
symbol is used as an offset into a CSECT that is not a TOC. These
types of loads are generated by gcc -mminimal-toc.
Ian Lance Taylor [Mon, 29 Aug 1994 19:24:48 +0000 (19:24 +0000)]
* ldlang.c (lang_check): Don't try to set the architecture if the
input and output files are incompatible. Just warn.
For Synoptics.
Jim Kingdon [Mon, 29 Aug 1994 18:45:35 +0000 (18:45 +0000)]
* annotate.c (annotate_starting): Flush output.
Per Bothner [Mon, 29 Aug 1994 01:22:07 +0000 (01:22 +0000)]
* config.guess (*-unknown-freebsd*): Get rid of possible
trailing "(Release)" in version string.
Ken Raeburn [Sun, 28 Aug 1994 22:15:33 +0000 (22:15 +0000)]
* as.h (flag_*): Added comments describing meanings of some of these variables.
(struct frag): Add some comments about the ns32k-specific fields and why
they're here.
(SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int.
(flag_print_statistics): Declare.
* as.c (parse_args): Set flag_print_statistics instead of statistics_flag.
Options array is now const. Added new option "dump-config"; if specified,
print TARGET_ALIAS, TARGET_CANONICAL, TARGET_CPU, TARGET_OBJ_FORMAT, and
TARGET_FORMAT, if defined.
(main): Change test to check flag_print_statistics.
(statistics_flag): Deleted.
Ken Raeburn [Sun, 28 Aug 1994 22:01:11 +0000 (22:01 +0000)]
Removed pcrel_adjust and bsr arguments from calling interface of
frag_variant, since they're only used on one machine. Let that machine
deal with them specially.
Ken Raeburn [Sun, 28 Aug 1994 20:26:27 +0000 (20:26 +0000)]
Makefile.in (distclean, realclean): Remove new configure-generated files.
Ken Raeburn [Sun, 28 Aug 1994 20:07:16 +0000 (20:07 +0000)]
keep new autoconf-related files
Peter Schauer [Sun, 28 Aug 1994 14:08:03 +0000 (14:08 +0000)]
* gdb.base/default.exp: Update expect pattern for load command
without arguments.
Peter Schauer [Sun, 28 Aug 1994 13:57:48 +0000 (13:57 +0000)]
* symfile.c (symbol_file_add): Move reinit_frame_cache call to
the callers of symbol_file_add. Gets rid of heuristic fence-post
warnings on mips and alpha targets when the PC resides in a shared
library which is not yet read in.
* coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files),
irix5-nat.c (solib_add), osfsolib.c (solib_add),
remote-vx.c (vx_open), solib.c (solib_add):
Add call to reinit_frame_cache after all shared libraries are read in.
* remote-udi.c (udi_load), remote-vx.c (vx_load_command),
symfile.c (symbol_file_command, add_symbol_file_command):
Add call to reinit_frame_cache after symbol_file_add.
Ken Raeburn [Sun, 28 Aug 1994 07:59:06 +0000 (07:59 +0000)]
Conversion to autoconf:
* acconfig.h, aclocal.m4: New files.
* configure.in: Rewritten (except for some target-specific code) for autoconf.
* conf.in, configure: New files, generated from the above.
* Makefile.in: Changed magic sequence indicating insertion of makefile
fragments.
(VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from
configure.
(LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
(config.status, configure): Rewrite rules.
(config-stamp): Depend on conf. Skip variables that configure is now
substituting itself.
(*.o dependencies): Deleted host.h.
(distclean, realclean): Don't delete host.h.
* as.c: Don't include stdio.h, string.h, sys/types.h. Include signal.h after
as.h.
* as.h: Include alloca-conf.h first. Include ctype.h, string.h, strings.h,
stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by
autoconf test results.
[BROKEN_ASSERT]: Don't include assert.h.
(strdup): Declare.
(volatile, const): Define if not __STDC__ and not already defined.
(malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
(free) [NEED_FREE_DECLARATION]: Declare.
* gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't include host.h.
(malloc) [NEED_MALLOC_DECLARATION]: Declare.
* messages.c: Include as.h first. Include errno.h only if HAVE_ERRNO_H. If
HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H. Set NO_STDARG and
NO_VARARGS as appropriate.
* doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use
autoconf @-substitutions.
Ken Raeburn [Sun, 28 Aug 1994 04:06:36 +0000 (04:06 +0000)]
input-file.c: Don't include assert.h here.
Ken Raeburn [Sun, 28 Aug 1994 03:35:40 +0000 (03:35 +0000)]
* config/tc-alpha.c: Added various prototypes for static functions.
(in_range): New function, tests whether a value can fit in an N-bit field.
(build_mem, build_operate_n): New functions for constructing opcode values.
(emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New functions for
emitting single instructions, no longer requiring a recursive call to
md_assemble.
(emit_add64): New function for expanding a REG:=REG+CONST operation into
one or more instructions, to handle wide constants.
(clear_insn): New variable.
(md_begin): Fill it in with zeros and BFD_RELOC_NONE values.
(alpha_ip): Use it to initialize local variable insns.
(alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64 for
calculations.
Per Bothner [Sat, 27 Aug 1994 22:08:32 +0000 (22:08 +0000)]
* config.guess: Fix i486-ncr-sysv43 -> i486-ncr-sysv4.3.
Fix type: *-next-neststep -> *-next-nextstep.
* config.guess: Merge from FSF:
Fri Aug 26 18:45:25 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* config.guess: Recognize powerpc-ibm-aix3.2.5.
Wed Apr 20 06:36:32 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* config.guess: Recognize UnixWare 1.1 (UNAME_SYSTEM is SYSTEM_V
instead of UNIX_SV for UnixWare 1.0).
Stu Grossman [Sat, 27 Aug 1994 08:58:25 +0000 (08:58 +0000)]
* Makefile.in (all-gdb): Add dependencies on all-gcc and all-ld
to make gdb/nlm/* build after the compiler and linker.
Per Bothner [Fri, 26 Aug 1994 23:14:50 +0000 (23:14 +0000)]
* config.guess (netbsd, freebsd, linux): Accept any machine,
not just i[34]86.
(m68k-atari-sysv4): Relocate to match FSF version.
J.T. Conklin [Fri, 26 Aug 1994 22:00:50 +0000 (22:00 +0000)]
Remove RCS ID's
Ken Raeburn [Fri, 26 Aug 1994 21:53:59 +0000 (21:53 +0000)]
write.c(write_contents): always enable BFD_FAST_SECTION_FILL code
Ken Raeburn [Fri, 26 Aug 1994 21:49:10 +0000 (21:49 +0000)]
subsegs.c: fix EMIT_SECTION_SYMBOLS handling
Per Bothner [Fri, 26 Aug 1994 21:38:29 +0000 (21:38 +0000)]
* config.guess: More merges from the FSF.
Per Bothner [Fri, 26 Aug 1994 21:10:36 +0000 (21:10 +0000)]
More merges from FSF.
Ken Raeburn [Fri, 26 Aug 1994 20:46:31 +0000 (20:46 +0000)]
configure: Accept and ignore --cache*, for compat w/autoconf 2.
Per Bothner [Fri, 26 Aug 1994 20:24:35 +0000 (20:24 +0000)]
* (config.guess): Merge from FSF.
Ian Lance Taylor [Fri, 26 Aug 1994 20:01:21 +0000 (20:01 +0000)]
* coffgen.c (coff_real_object_p): Set obj_raw_syment_count.
(coff_get_normalized_symtab): Verify obj_raw_syment_count, rather
than setting it.
This page took 0.040052 seconds and 4 git commands to generate.