Ian Lance Taylor [Wed, 27 Mar 1996 15:44:18 +0000 (15:44 +0000)]
* coffswap.h (coff_swap_scnhdr_out): Include section name in
overflow error messages.
Jeff Law [Wed, 27 Mar 1996 15:35:16 +0000 (15:35 +0000)]
* From Peter Schauer.
* breakpoint.c (breakpoint_re_set_one): Keep temporary
breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
and bp_step_resume in case breakpoint_re_set_one is called due
to a step over a dlopen call.
* infrun.c (wait_for_inferior): Always remove breakpoints from
inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
Jackie Smith Cashion [Wed, 27 Mar 1996 14:46:27 +0000 (14:46 +0000)]
Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c, gencode.c: Some more (TODO) tidying.
Fred Fish [Wed, 27 Mar 1996 00:21:02 +0000 (00:21 +0000)]
* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
non-prototyped case over prototyped case for C.
* config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
Ian Lance Taylor [Tue, 26 Mar 1996 23:20:22 +0000 (23:20 +0000)]
* as.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:16:01 +0000 (23:16 +0000)]
* ldmain.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:00:56 +0000 (23:00 +0000)]
* bfd.c (_bfd_default_error_handler): If _bfd_error_program_name
is not set, print "BFD: " before the error message.
Michael Meissner [Tue, 26 Mar 1996 21:20:54 +0000 (21:20 +0000)]
Fix typo that clobbered the stack and rewrite 2/26 change
Ian Lance Taylor [Tue, 26 Mar 1996 21:12:59 +0000 (21:12 +0000)]
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.
Ian Lance Taylor [Tue, 26 Mar 1996 20:47:22 +0000 (20:47 +0000)]
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.
Ian Lance Taylor [Tue, 26 Mar 1996 19:12:19 +0000 (19:12 +0000)]
* mh-go32 (CFLAGS): Define.
Fred Fish [Mon, 25 Mar 1996 04:09:45 +0000 (04:09 +0000)]
Revert use of autoconf 2.9, it was causing too many regressions.
Fred Fish [Sun, 24 Mar 1996 02:59:18 +0000 (02:59 +0000)]
Tweak to match output of autoconf 2.9 with same cygnus local patch as
current autoconf 2.8.
Fred Fish [Sun, 24 Mar 1996 00:22:50 +0000 (00:22 +0000)]
* os9kread.c (os9k_process_one_symbol): Note nonportable
assumption that an int can hold a char *.
* bcache.h (struct hashlink): Wrap data[] inside union with
double to force longest alignment.
(BCACHE_DATA): New macro to access data[].
(BCACHE_ALIGNMENT): New macro to get offset to data[].
* bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
address of cached data. Use BCACHE_ALIGNMENT to compute
amount of space to allocate for each hashlink struct.
Fred Fish [Sun, 24 Mar 1996 00:19:59 +0000 (00:19 +0000)]
* configure, testsuite/configure, testsuite/gdb.base/configure,
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure,
testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure:
Regenerated with autoconf 2.9.
Fred Fish [Sat, 23 Mar 1996 19:52:50 +0000 (19:52 +0000)]
* ch-lang.c (evaluate_subexp_chill): Fix typo.
Michael Meissner [Sat, 23 Mar 1996 15:02:42 +0000 (15:02 +0000)]
update from andrew
Angela Marie Thomas [Fri, 22 Mar 1996 21:50:27 +0000 (21:50 +0000)]
change [ -d foo ] to test -d foo
Angela Marie Thomas [Fri, 22 Mar 1996 21:30:31 +0000 (21:30 +0000)]
changes for new hosts, fixes for old hosts
Ian Lance Taylor [Fri, 22 Mar 1996 20:51:47 +0000 (20:51 +0000)]
* stabs.c (struct stab_handle): Add field abfd.
(start_stab): Add abfd parameter.
(parse_stab_string): Skip the symbol leading char when searching
for the value of a global symbol.
* budbg.h (start_stab): Update declaration.
* rddbg.c (read_section_stabs_debugging_info): Pass abfd to
start_stab.
(read_symbol_stabs_debugging_info): Likewise.
Ian Lance Taylor [Fri, 22 Mar 1996 19:59:20 +0000 (19:59 +0000)]
* xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
symbols.
Ian Lance Taylor [Fri, 22 Mar 1996 17:21:03 +0000 (17:21 +0000)]
* config.bfd: Add ieee_vec to targ_selvecs for i960 targets and
m68k-aout, m68k-coff, and m68k-elf targets.
Ian Lance Taylor [Fri, 22 Mar 1996 16:46:34 +0000 (16:46 +0000)]
Fri Mar 22 11:33:44 1996 Martin Anantharaman <martin@goofy.imech.uni-duisburg.de>
* ieee.c: Changed #ifdef KEEPMINUSPCININST to #if KEEPMINUSPCININST.
(ieee_generic_stat_arch_elt): Restructured to prevent
ieee_object_p from being called repeatedly.
Ian Lance Taylor [Fri, 22 Mar 1996 16:44:21 +0000 (16:44 +0000)]
* as.h (strdup): Don't declare.
* stabs.c: Include libiberty.h
(get_stab_string_offset): Use xstrdup rather than strdup.
(s_stab_generic): Likewise.
* as.c (parse_args): Likewise.
* read.c (s_mri_sect): Likewise.
Ian Lance Taylor [Fri, 22 Mar 1996 16:14:07 +0000 (16:14 +0000)]
* gasp.c (change_base): Recognize \(...) construct documented to
pass through enclosed characters literally through to the output.
(process_assigns): Likewise. Also, be more careful to avoid
looking past the end of the buffer.
PR 9268.
Steve Chamberlain [Fri, 22 Mar 1996 00:32:05 +0000 (00:32 +0000)]
* coffcode.h (coff_write_object_contents): Allocate
buffers large enough for any FILEHDR or AOUTHDR.
Ian Lance Taylor [Thu, 21 Mar 1996 22:21:30 +0000 (22:21 +0000)]
* core.c (core_create_function_syms): Move filename and func_name
inside ifdef where they are used.
* core.c (core_sym_class): Parenthesize && within ||.
* symtab.c (symtab_finalize): Correct parenthesization.
* cg_print.h (cg_print_file_ordering): Declare.
(cg_print_function_ordering): Declare.
* __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
* cg_arcs.c (arc_add): Likewise.
* cg_print.c (cg_print_function_ordering): Likewise.
Ian Lance Taylor [Thu, 21 Mar 1996 22:07:14 +0000 (22:07 +0000)]
Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
* gprof.c (default_excluded_list): Add "__mcount".
* gprof.c (main): Change ifdef __osf__ to __alpha__.
* gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
profiling rate from the header.
* gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
__osf__ are defined. Add new fields if BSD44_FORMAT is defined.
* alpha.h (MIN_INSN_SIZE): Define.
* core.c (MIN_INSN_SIZE): If not defined, define as 1.
(core_sym_class): Ignore debugging symbols.
(core_create_line_syms): Use MIN_INSN_SIZE when gathering line
information.
Michael Meissner [Thu, 21 Mar 1996 20:00:30 +0000 (20:00 +0000)]
Warn if the .pdata section is not a multiple of 20 bytes
Ian Lance Taylor [Thu, 21 Mar 1996 18:56:12 +0000 (18:56 +0000)]
* coffcode.h (coff_compute_section_file_positions): If not
producing a final executable, don't consider sofar when aligning
the section to the correct size.
Ian Lance Taylor [Thu, 21 Mar 1996 18:32:34 +0000 (18:32 +0000)]
* ldmisc.c (vfinfo): case 'I': If the file is not in an archive,
and the local symbol name does not match the filename, print the
filename as well.
Ian Lance Taylor [Thu, 21 Mar 1996 18:19:38 +0000 (18:19 +0000)]
Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:
* lexsup.c (parse_args): -Bshareable is a synonym for -shared.
* emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same
as TEXT_START_ADDR.
Ian Lance Taylor [Thu, 21 Mar 1996 15:59:01 +0000 (15:59 +0000)]
* config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
* configure: Rebuild.
* Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
Set CONFIG_HEADERS to config.h:config.in.
The file name config.h.in can be used on DOS filesystems.
Ian Lance Taylor [Wed, 20 Mar 1996 23:19:47 +0000 (23:19 +0000)]
Wed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* ld.texinfo: Fix typos. Use @pxref only inside parentheses.
Ian Lance Taylor [Wed, 20 Mar 1996 23:16:35 +0000 (23:16 +0000)]
Wed Mar 20 18:15:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled
as __GNU_C__.
(order_and_dump_functions_by_arcs): Likewise.
Ian Lance Taylor [Wed, 20 Mar 1996 23:14:38 +0000 (23:14 +0000)]
Wed Mar 20 18:13:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* doc/as.texinfo, doc/c-i960.texi: Fix typos.
Ian Lance Taylor [Wed, 20 Mar 1996 23:12:00 +0000 (23:12 +0000)]
Wed Mar 20 18:10:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in: Add missing global flag in sed substitution when
deleting `target-' from ${configdirs}.
Ian Lance Taylor [Wed, 20 Mar 1996 23:09:56 +0000 (23:09 +0000)]
Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* objdump.c (disassemble_data): Make sure sym_name is always set.
(dump_section_header): Always put a space after the section name.
(dump_bfd_header): Terminate output with newline.
Ian Lance Taylor [Wed, 20 Mar 1996 22:10:07 +0000 (22:10 +0000)]
Wed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>
* config/alpha-opcode.h: Added cvtst instruction.
Ian Lance Taylor [Wed, 20 Mar 1996 21:57:31 +0000 (21:57 +0000)]
* ldmain.c (add_wrap): New function.
* ldmain.h (add_wrap): Declare.
* lexsup.c (parse_args): Call add_wrap.
Ian Lance Taylor [Wed, 20 Mar 1996 21:51:25 +0000 (21:51 +0000)]
* wrstabs.c: New file.
* budbg.h (write_stabs_in_sections_debugging_info): Declare.
* objcopy.c (write_debugging_info): For COFF or ELF, output stabs
in sections.
* Makefile.in: Rebuild dependencies.
(CFILES): Add wrstabs.c.
(WRITE_DEBUG_OBJS): New variable.
($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
($(STRIP_PROG)): Likewise.
Ian Lance Taylor [Wed, 20 Mar 1996 21:49:31 +0000 (21:49 +0000)]
* ieee.c (struct ieee_handle): Add fields complex_float_index and
complex_double_index.
(ieee_complex_type): Cache type index in complex_float_index and
complex_double_index, depending upon size. Set size on type stack
to size * 2.
* ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
(ieee_void_type): Use builtin_void, not 1.
* ieee.c (parse_ieee_ty): Handle 'V' type code.
(parse_ieee_atn): Don't require two numbers for type 10.
* ieee.c (parse_ieee_be): Add one to offset at end of function or
block.
* ieee.c (struct ieee_block): Add field skip.
(parse_ieee_bb): Don't call debug_record_function for __XRYCPP
function, and set skip field.
(parse_ieee_be): Don't call debug_end_function if skip is set.
Fred Fish [Wed, 20 Mar 1996 15:48:34 +0000 (15:48 +0000)]
Revert part of change from last night.
Fred Fish [Wed, 20 Mar 1996 07:52:01 +0000 (07:52 +0000)]
* gdb.base/corefile.exp: Always regenerate the core file, since
we always regenerate the coremaker program. Detect special case
where registers cannot be read from core file. Change setup_xfail
for "print func2:coremaker_local" and "backtrace in corefile.exp"
to fail for all i*86 targets.
Fred Fish [Wed, 20 Mar 1996 02:58:28 +0000 (02:58 +0000)]
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
* gdb.c++/templates.exp: Only match on basename of file since
some formats like xcoff don't encode directory information.
* gdb.stabs/weird.exp: Use the right sed script for powerpc
and rs6000 AIX xcoff targets.
* configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
* configure: Regenerate.
* gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
here, rather than in distclean.
David Edelsohn [Wed, 20 Mar 1996 00:45:57 +0000 (00:45 +0000)]
* configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
Peter Schauer [Tue, 19 Mar 1996 20:50:13 +0000 (20:50 +0000)]
* partial-stab.h (case N_ENDM): Finish current partial symbol
table for Solaris 2 cc.
Jeff Law [Tue, 19 Mar 1996 17:40:12 +0000 (17:40 +0000)]
* rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
PC in the registers array. From Peter Schauer.
Ian Lance Taylor [Mon, 18 Mar 1996 23:52:43 +0000 (23:52 +0000)]
* configure.in: Add AC_FUNC_VFORK.
* configure, config.in: Rebuild.
* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
defined.
Ian Lance Taylor [Mon, 18 Mar 1996 23:06:29 +0000 (23:06 +0000)]
* stabs.c (parse_stab_range_type): A complex type is defined as a
subrange of itself with the high bound zero.
* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
Fred Fish [Mon, 18 Mar 1996 21:24:48 +0000 (21:24 +0000)]
* symfile.c (reread_symbols): Reinitialize bcache struct
members to zero using memset. Also use memset to reinit
global_psymbols and static_psymbols, rather than explicitly
resetting each structure member.
Ian Lance Taylor [Mon, 18 Mar 1996 18:13:59 +0000 (18:13 +0000)]
* ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
string. Extract the addend from the result of expression.
Ian Lance Taylor [Mon, 18 Mar 1996 18:12:36 +0000 (18:12 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
output_bfd is not NULL.
Fred Fish [Mon, 18 Mar 1996 16:15:05 +0000 (16:15 +0000)]
Add acconfig.h and config.h.in
Fred Fish [Sun, 17 Mar 1996 21:48:40 +0000 (21:48 +0000)]
* gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
defined, and use it to compile the test case with -O2. The
native compilation still uses no optimization.
* gdb.base/mips_pro.c: Remove inline assembly code since
it is compiled PIC by default, which results in assembler
warnings that make the testsuite think the compilation
was unsuccessful.
Fred Fish [Sun, 17 Mar 1996 06:28:57 +0000 (06:28 +0000)]
* configure.in: Add fragment to create stamp-h.
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* configure.in (AC_CHECK_HEADERS): Check for link.h.
* configure: Regenerate with autoconf.
* config.h.in: Regenerate with autoheader.
* config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
is defined.
* solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
* config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
older a.out based systems.
Fred Fish [Sun, 17 Mar 1996 01:08:19 +0000 (01:08 +0000)]
* i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
Fred Fish [Sun, 17 Mar 1996 00:53:34 +0000 (00:53 +0000)]
Forgot during last checkin.
* config.h.in: New file.
* Makefile.in (distclean): Remove config.h and stamp-h during distclean.
(config.h, stamp-h): New targets to remake config.h when necessary.
Fred Fish [Sun, 17 Mar 1996 00:36:07 +0000 (00:36 +0000)]
* acconfig.h: New file, for autoheader.
* configure.in (AC_CONFIG_HEADER): Add, generate config.h.
* configure: Regenerate.
* Makefile.in (defs_h): Add config.h
* defs.h (config.h): Include before any other includes or defines.
* i386-tdep.c (gdb_string.h): Move include after include of defs.h.
Fred Fish [Sat, 16 Mar 1996 23:23:58 +0000 (23:23 +0000)]
* gdb.c++/misc.exp: Add note to message for
"print s.a for foo struct" that this is a known gcc 2.7.2
and earlier bug.
Fred Fish [Sat, 16 Mar 1996 22:16:06 +0000 (22:16 +0000)]
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.texinfo (Expressions): Fix erroneous array constant example.
Fred Fish [Sat, 16 Mar 1996 21:58:00 +0000 (21:58 +0000)]
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
result in an empty line, to work around a bug in native Ultrix 4.4
and OSF/1-3.2C make.
Fred Fish [Sat, 16 Mar 1996 21:46:56 +0000 (21:46 +0000)]
* configure.in: Add gdbserver to configdirs under linux.
* configure: Regenerate.
Fred Fish [Sat, 16 Mar 1996 21:46:06 +0000 (21:46 +0000)]
* gdb.texinfo: Add missing "@bullet" to some "@itemize"
commands.
Fred Fish [Sat, 16 Mar 1996 19:51:15 +0000 (19:51 +0000)]
* gdb.base/break.exp: Fix pattern for matching "Delete all
breakpoints (y or n) ". Add "mips-dec-ultrix*" to
setup_xfail for deleting all breakpoints test. Fix various
timeout messages to include "(timeout)".
* gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
for "p t_float_values2(3.14159,float_val2)".
* gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
for "continue to call2g" when gcc compiled.
* gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
"up to foo in langs.exp", "show language at foo in langs.exp",
"show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
and "show language at fsub in langs.exp".
* gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
"list line 1 in include file", "list message for lines past EOF",
"list function in include file", "list list0.h:foo", and
"list filename:function; nonexistant function".
* gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
and "ptype t_char_array" to be for native cc only.
Fred Fish [Sat, 16 Mar 1996 00:47:44 +0000 (00:47 +0000)]
* gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
setup_xfail for "print coremaker_bss", "print coremaker_ro",
"print func2::coremaker_local", and "backtrace in corefile.exp".
Ian Lance Taylor [Fri, 15 Mar 1996 22:12:10 +0000 (22:12 +0000)]
* app.c (do_scrub_chars): If whitespace is seen in state 11, and
LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
mode, change the state to 3 rather than 1.
J.T. Conklin [Fri, 15 Mar 1996 20:12:35 +0000 (20:12 +0000)]
* config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
* config/i386/tm-nbsd.h (NUM_REGS): Define.
David Edelsohn [Fri, 15 Mar 1996 01:12:57 +0000 (01:12 +0000)]
* coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead
of bfd_alloc (fixes fix_line not being initialized).
Delete zeroing of fix_{value,tag,end,scnlen} fields.
Ian Lance Taylor [Fri, 15 Mar 1996 00:33:04 +0000 (00:33 +0000)]
* Makefile.in (DO_X): Don't get confused if CC contains `=' in an
option.
Ian Lance Taylor [Fri, 15 Mar 1996 00:31:00 +0000 (00:31 +0000)]
* configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
config/mh-necv4.
Ian Lance Taylor [Fri, 15 Mar 1996 00:29:21 +0000 (00:29 +0000)]
* mh-necv4: New file.
Ian Lance Taylor [Fri, 15 Mar 1996 00:20:59 +0000 (00:20 +0000)]
* mh-necv4: New file.
Ian Lance Taylor [Fri, 15 Mar 1996 00:18:41 +0000 (00:18 +0000)]
* install.sh: Correct misspelling of transformbasename.
Ian Lance Taylor [Fri, 15 Mar 1996 00:17:48 +0000 (00:17 +0000)]
* config.guess: Recognize mips-*-sysv*.
Ian Lance Taylor [Thu, 14 Mar 1996 23:19:08 +0000 (23:19 +0000)]
* config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
correspond to 11 March change.
Jeff Law [Thu, 14 Mar 1996 23:17:50 +0000 (23:17 +0000)]
* coffcode.h: Allow specific backends to override the
bfd_link_add_symbols routine.
Not used yet, but it will be soon for hmse.
Jeff Law [Thu, 14 Mar 1996 23:06:51 +0000 (23:06 +0000)]
* coff-h8300.c: Include genlink.h.
(howto_table): Add R_MEM_INDIRECT.
(rtype2howto): Support R_MEM_INDIRECT.
(h8300_reloc16_extra_cases): Handle R_MEM_INDIRECT like R_RELBYTE
for now.
hmse
Jeff Law [Thu, 14 Mar 1996 22:55:12 +0000 (22:55 +0000)]
* config/tc-h8300.c (build_bytes, MEMIND case): Generate
an R_MEM_INDIRECT reloc rather than R_RELBYTE.
hmse
Jeff Law [Thu, 14 Mar 1996 17:32:12 +0000 (17:32 +0000)]
* solib.c (solib_break_names): Add _r_debug_state for
vanilla SVR4 implementations. From Peter Schauer.
Jeff Law [Thu, 14 Mar 1996 00:49:42 +0000 (00:49 +0000)]
* scripttempl/h8300.sc: Change name of page zero memory
from "null" to "vectors". Create an output section for
vectors. Add comments on how to explicitly place items
in the vector table.
* scripttempl/h8300h.sc: Likewise.
hmse
Fred Fish [Wed, 13 Mar 1996 22:56:22 +0000 (22:56 +0000)]
* gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
"bt in signals.exp". This problem only appears when running
the testsuite, and then only intermittently.
Ian Lance Taylor [Wed, 13 Mar 1996 22:41:25 +0000 (22:41 +0000)]
* emultempl/lnk960.em (machine_table): Add jx and hx.
Ian Lance Taylor [Wed, 13 Mar 1996 17:40:58 +0000 (17:40 +0000)]
* genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
support it.
Ian Lance Taylor [Tue, 12 Mar 1996 23:39:18 +0000 (23:39 +0000)]
* lexsup.c (parse_args): Handle --wrap.
* ldmain.c (main): Initialize link_info.wrap_hash.
* ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
and NAME cases.
* ld.texinfo, ld.1: Document --wrap.
Ian Lance Taylor [Tue, 12 Mar 1996 23:14:58 +0000 (23:14 +0000)]
* linker.c (bfd_wrapped_link_hash_lookup): New function.
(_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash
table string. Use bfd_wrapped_link_hash_lookup.
(_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash
table string.
* aoutx.h (aout_link_write_symbols): Use the name from the hash
table, if any, when writing out symbols.
(aout_link_input_section_std): Use the name from the hash table,
if any, when reporting undefined symbols.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup.
* bout.c (get_value): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_reloc_link_order): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(_bfd_generic_reloc_link_order): Likewise.
(default_indirect_link_order): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Likewise.
(bfd_xcoff_link_count_reloc): Likewise.
(xcoff_reloc_link_order): Likewise.
Stan Shebs [Tue, 12 Mar 1996 23:02:25 +0000 (23:02 +0000)]
* gdb.base/return.exp (return_tests): Differentiate between
two tests of continuing.
Ian Lance Taylor [Tue, 12 Mar 1996 19:33:31 +0000 (19:33 +0000)]
* ieee.c (ieee_write_undefined_tag): Switch to global_types even
if it is not empty.
(ieee_tag_type): For an enum, look through info->enums.
Ian Lance Taylor [Tue, 12 Mar 1996 17:47:55 +0000 (17:47 +0000)]
Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* ld.h (ld_config_type): Add warn_multiple_gp field.
* lexsup.c (parse_args): Handle --warn-multiple-gp.
* ldmain.c (warning_callback): Suppress multiple gp values warning
if --warn_multiple_gp was not used.
* ld.texinfo, ld.1: Document --warn-multiple-gp.
Ian Lance Taylor [Tue, 12 Mar 1996 17:42:19 +0000 (17:42 +0000)]
Tue Mar 12 12:41:17 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* coff-alpha.c (alpha_relocate_section): Use
info->callbacks_warning, rather than _bfd_error_handler, for
"multiple gp" warning.
Ian Lance Taylor [Tue, 12 Mar 1996 17:30:44 +0000 (17:30 +0000)]
comment change
Ian Lance Taylor [Tue, 12 Mar 1996 17:26:23 +0000 (17:26 +0000)]
tweak last patch
Ian Lance Taylor [Tue, 12 Mar 1996 17:22:07 +0000 (17:22 +0000)]
* configure: Rebuild with autoconf 2.8.
Ian Lance Taylor [Tue, 12 Mar 1996 17:10:22 +0000 (17:10 +0000)]
* debug.c (debug_type_samep): Don't loop endlessly in
DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>.
Ian Lance Taylor [Tue, 12 Mar 1996 17:04:25 +0000 (17:04 +0000)]
Don't do SunOS style dynamic linking for sparc-aout:
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
(sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
(sparc*-wrs-vxworks*): Likewise.
* emulparams/sparcaout.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
(esparcaout.c): New target.
Ian Lance Taylor [Mon, 11 Mar 1996 23:58:15 +0000 (23:58 +0000)]
* config/atof-ieee.c (gen_to_words): Improve handling of
X_PRECISION numbers. Based on patches from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>.
Dawn Perchik [Mon, 11 Mar 1996 23:52:05 +0000 (23:52 +0000)]
Keep mon960 files.
Dawn Perchik [Mon, 11 Mar 1996 23:49:22 +0000 (23:49 +0000)]
* mon960-rom.c: New file; support mon960 rom monitor on i960.
* monitor.c (monitor_debug): Change remotedebug to buffer strings.
* monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
epecting prompt and echo during open.
* monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
determine if break should be sent as stop command.
* monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
* i960-tdep.c (mon960_frame_chain_valid): New function for getting
stack frame on mon960.
* Makefile.in: Add mon960 files.
* configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
added i960-nindy-coff* and i960-nindy-elf* for target nindy.
* configure: Regenerated.
* config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
support mon960 rom monitor on i960.
David Edelsohn [Mon, 11 Mar 1996 23:25:53 +0000 (23:25 +0000)]
(sim_resume, shift insns): Fix setting of overflow flag for shal.
David Edelsohn [Mon, 11 Mar 1996 21:59:47 +0000 (21:59 +0000)]
* run.c (main): Print error message if argument is invalid.
(usage): Improve text.