Commit graph

13122 commits

Author SHA1 Message Date
Michael Meissner
d513119138 Add .fixup section 1995-06-22 19:08:18 +00:00
Michael Meissner
3f4ca87446 Fix warning 1995-06-22 18:44:36 +00:00
Steve Chamberlain
b368d24697 Sanitize seems to care about trailing spaces. 1995-06-22 16:30:19 +00:00
Steve Chamberlain
f4761bb244 * reloc.c (bfd_perform_relocation): Add case for -ve words. 1995-06-22 15:59:14 +00:00
Ken Raeburn
3c1e89f836 remove rcs id string 1995-06-22 01:31:02 +00:00
Ken Raeburn
08a827b7b2 new test from Andreas Schwab 1995-06-22 01:29:50 +00:00
Fred Fish
b9f12fd911 * gdb.base/return.exp: Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
	a case by case basis as appropriate.  Also update message
	to include i*86 failures.
1995-06-22 00:51:47 +00:00
Ken Raeburn
c151fd1e13 m68k fixes from Andreas Schwab, with minor changes 1995-06-21 22:43:13 +00:00
Ken Raeburn
a183540991 * config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
shift it an extra time.
1995-06-21 22:09:45 +00:00
Steve Chamberlain
edf6a84356 * interp.c: (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs.
	(sim_resume): Poll for quits on win32.
1995-06-21 22:05:47 +00:00
Ken Raeburn
652970ff68 fix diststuff/realclean handling of info files 1995-06-21 21:48:03 +00:00
Steve Chamberlain
45993f6118 Hmm.. The ChangeLog went in, but not the code....
* monitor.c: Turn on caching.
	(monitor_printf): If a ^C was sent, don't expect to see its
	echo.
	(monitor_open): Enable caching.
	(monitor_resume, monitor_load): Flush cache.
	(monitor_xfer_memory): Call cache routine.
	(monitor_dump_regs): New.
	(monitor_fetch_registers):  If monitor_dump_regs available
	then use it.
	(monitor_load): Don't ref exec_bfd if it's NULL.
	(monitor_load_srec): Use new monitor_make_srec calling convention.
	(monitor_make_srec): Rewrite to cope with two, three and four byte
	addresses.
	* remote-hms.c (hms_cmds): Initialze end-of-command delim.
	* dcache.h, dcache.h: Rewritten.
	* remote.c: Reenable caching.
	(getpkt): Reduce MAX_TRIES to 3.
	(remote_xfer_memory): Use dcache_xfer_memory.
	* defs.h (error_hook): New.
	* top.c (error_hook): New definition.
	* utils.c (error): Use error_hook if initialized.
	* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
	HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 21:47:06 +00:00
Ken Raeburn
65b175c5e6 * objdump.c (compare_relocs): If relocation entries have the same address, keep them in file order. 1995-06-21 21:44:06 +00:00
Steve Chamberlain
85b369b3a4 * gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
string compares. gas/7274.
1995-06-21 21:37:13 +00:00
Rob Savoye
d8cbfdec2e "Lose" the new testsuite directory for now. 1995-06-21 21:28:24 +00:00
Rob Savoye
6d5cfab0ab * testsuite: New directory for customer acceptance and whole tool
chain tests.
	* configure: Set build_{cpu,vendor,os,alias} to host values when
	--build isn't specified
1995-06-21 21:25:10 +00:00
Ken Raeburn
6109825c73 Handle autoconfiscated directories by running the correct configure script. 1995-06-21 20:57:03 +00:00
Steve Chamberlain
1684136b21 add ld-versados. 1995-06-21 20:55:01 +00:00
Stan Shebs
aad9058089 Keep MPW x SH compiled linker script. 1995-06-21 20:00:22 +00:00
Jeff Law
b3a34d4fc0 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
1995-06-21 19:29:00 +00:00
Steve Chamberlain
c3a9b88e1e Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
* monitor.c: Turn on caching.
	(monitor_printf): If a ^C was sent, don't expect to see its
	echo.
	(monitor_open): Enable caching.
	(monitor_resume, monitor_load): Flush cache.
	(monitor_xfer_memory): Call cache routine.
	(monitor_dump_regs): New.
	(monitor_fetch_registers):  If monitor_dump_regs available
	then use it.
	(monitor_load): Don't ref exec_bfd if it's NULL.
	(monitor_load_srec): Use new monitor_make_srec calling convention.
	(monitor_make_srec): Rewrite to cope with two, three and four byte
	addresses.
	* remote-hms.c (hms_cmds): Initialze end-of-command delim.
	* dcache.h, dcache.h: Rewritten.
	* remote.c: Reenable caching.
	(getpkt): Reduce MAX_TRIES to 3.
	(remote_xfer_memory): Use dcache_xfer_memory.
	* defs.h (error_hook): New.
	* top.c (error_hook): New definition.
	* utils.c (error): Use error_hook if initialized.
	* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
	HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 19:23:06 +00:00
Jeff Law
775d12552e * elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply a
relocation against an undefined symbols.
1995-06-21 19:14:39 +00:00
Steve Chamberlain
9eacc5c494 * versados.c: Second pass/rewrite. 1995-06-21 17:19:25 +00:00
Steve Chamberlain
8370f03b67 New tests. 1995-06-21 17:15:11 +00:00
Jeff Law
5e2f4e2d6f * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
(INSTRUCTION_NULLIFIED): Allow specific targets to override.
	* config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
	around losing mach kernel behavior.
1995-06-21 04:20:15 +00:00
Stan Shebs
0283d893cb * mpw-esh.c: New file, modified for MPW from esh.c.
* scripttempl/sh.sc: Reformatted to simplify MPWification,
	use *() to concat stab sections instead of [].
1995-06-21 00:52:21 +00:00
Steve Chamberlain
7478904c77 * compile.c (get_now): Don't do if win32.
(sim_resume): Poll in win32 too.
1995-06-20 23:21:23 +00:00
Stan Shebs
f886dc0f27 * gdb.texinfo: Update dates and versions, fix comments about
hardware watchpoints in future releases and about the
	sharedlibrary command.
1995-06-20 21:51:17 +00:00
David Edelsohn
77cbdd35c9 Keep COPYING.NEWLIB if keep-newlib. 1995-06-20 20:05:40 +00:00
David Edelsohn
2822305bb5 move test-build.mk to cygnus_files. 1995-06-20 19:54:49 +00:00
Stan Shebs
4a4307947e * monitor.c (monitor_wait): Don't use the watchdog timeout
if its value is 0.
	* w89k-rom.c (w89k_open): Define to be static.
1995-06-20 19:13:20 +00:00
Ken Raeburn
34308df7a3 *config/obj-coff.c (write_object_file): Cast time() argument to time_t *. 1995-06-20 19:01:18 +00:00
Jeff Law
420c479b5a * config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
change.
1995-06-20 18:02:44 +00:00
Stu Grossman
8c19daa1e5 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free. 1995-06-20 17:41:11 +00:00
Stu Grossman
f1b64caa98 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
* (create_file_win create_asm_win build_framework):  Create null
	bindings for meta keys to keep window from dropping down to
	insertion point when meta is pressed by itself.  New bindings:
	   Up/Down - Scroll up/down one line at a time
	   Next/Prior - Scroll up/down one page at a time
	   Home/End - Warp to current pc/end of file
	* (build_framework):  Turn on breakpoint menu.
	* (create_command_window):  Implement tab completion.  Add binding
	for ^C to stop target.
1995-06-20 17:30:44 +00:00
Steve Chamberlain
13e4db2e3c * dlltool.c: Change names of generated files. .*.s-> -*.s
* objdump.c (dump_section_stabs):  Check for names
	which are supersets of selected names. binutils/7240.
1995-06-20 16:33:28 +00:00
Jeff Law
764771905a * config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
from frag_more calls.
1995-06-19 21:34:39 +00:00
Jeff Law
156285aac0 * somsolib.c (som_solib_add): Validate regexp argument.
Don't assume the first entry on dld's library list is the main
        program.  Don't load the same library more than once and don't
        consider the main program a shared library.
        (som_solib_sharedlibrary_command): New function
        (_initialize_som_solib): Add "sharedlibrary" command.

mentor-7135
1995-06-19 21:26:58 +00:00
Jeff Law
c2730ba305 Fix typo in last change. 1995-06-18 05:39:52 +00:00
Jeff Law
9fe4fade31 * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stub
section if we get an error.
1995-06-18 03:39:23 +00:00
Jeff Law
9a6880571c * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't mess
with the operands of an R_PARISC_DPREL21L relocation if the insn
        is not "addil <symbol>,%r27".
1995-06-17 15:43:06 +00:00
Stan Shebs
018dafca8a * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
define.
	* bfd-in2.h: Rebuilt.
	* bfd.c (NT_subsystem, NT_stack_heap): Define.
1995-06-16 22:08:26 +00:00
Ken Raeburn
379062d10f use changequote around [] 1995-06-16 19:30:48 +00:00
Jeff Law
31dabb6cc9 * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
type field (there are two!) when checking to see if $global$ is
	defined.
1995-06-16 06:09:07 +00:00
Stan Shebs
6efe6dc578 * mpw-config.in: Add sh and i386 configs, remove sparc config.
* sh-opc.h: Add copyright.
1995-06-16 00:45:31 +00:00
Stan Shebs
d21041b3e2 * config/obj-coff.c: Don't use "bfd/" when including libbfd.h
and libcoff.h.
	(fill_section): Call PROGRESS.
	* Makefile.in (INCLUDES): Add bfd srcdir.

	* mpw-config.in: Add bfd_gas flag and set for each config.
	(i386-unknown-go32, m68k-unknown-coff): Recognize.
	* mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
	config.h.
1995-06-16 00:07:45 +00:00
Stan Shebs
e33c359dcb * array-rom.c: Remove, no longer used.
* remote-hms.c (hms_open): Make static.

	* mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
	not {MPW}Interfaces:CIncludes.
	* ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
1995-06-15 22:10:27 +00:00
Stan Shebs
e0151f38e1 * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
to bfd_tttrue, bfd_fffalse so as not to conflict with functions.
	* coffswap.h (coff_swap_scnhdr_out): Remove version that was
	hacked for MPW C.
	* mpw-config.in: Set shell vars instead of pasting to makefile
	for each configuration, edit coffswap.h to make MPW C not choke.
	(i386-unknown-coff, sh-hitachi-hms): Recognize.
	* mpw-make.in (BFD_LIBS): Add versados.c.o.

	* versados.c (versados_scan): Properly cast results from bfd_alloc.
1995-06-15 21:18:17 +00:00
David Edelsohn
f6d6f1028e * config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
(FAKE_LABEL_NAME): Likewise.
1995-06-15 17:06:20 +00:00
Steve Chamberlain
8a239b6235 * scripttempl/armpe.sc: Add constructor support. 1995-06-15 15:48:35 +00:00