Commit graph

20740 commits

Author SHA1 Message Date
Andrew Cagney
4dbdbfc4d3 o Fix code deleting psymtab entry from objfile's list.
Only worked if the first element in the list was
	being deleted.
o	When MAINLINE (reading main objectfile and need to
	clear out old data), change elfread.c so that the
	psymbol table is emptied once (in elf_symfile_read)
	instead of multiple times in each *_read_psymtab
	function.
o	For elf_symfile_read, load dwarf2 symbols last
	(so that they are searched for first).
o	In mdebug_psymtab_read, delete check to see if
	symbols for current source file already loaded.
	Test doesn't work for .h files.  Above change
	works better
1997-12-17 16:50:18 +00:00
Nick Clifton
6124cd1e59 Fixed segmentation violation detected by LD testsuite. 1997-12-17 12:51:37 +00:00
Michael Meissner
343b2ab8c1 Make sure NOPS are inserted between 32-bit multiply and load or 16-bit multiply; Compile cleanly with -Wall; Add -n/-N options 1997-12-17 12:43:15 +00:00
Michael Snyder
7a880bf32d Wed Dec 17 10:47:05 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (set_raw_tracepoint): initialize addr_string
        to NULL; (trace_actions_command): call readline_begin_hook only
        if from_tty is true.
1997-12-17 10:49:19 +00:00
David Taylor
7165fd141e add sanitize markers 1997-12-17 10:39:58 +00:00
Nick Clifton
0f9d6eeb60 Fail if there is not enough room for program headers. 1997-12-17 09:47:59 +00:00
Ian Lance Taylor
ce71bfc232 * lexsup.c (parse_args): Keep track of where we are in the option
parsing before calling ldemul_parse_args, so that we don't call it
	multiple times on the same argument and confuse the getopt
	internals.
1997-12-17 09:16:05 +00:00
Ian Lance Taylor
be8da92575 * configure: Only put libide in GDB_TK if --enable-ide. 1997-12-17 08:30:00 +00:00
Michael Meissner
33b7d4fbb2 Allow d30v to build libide once again 1997-12-17 08:23:18 +00:00
Gavin Romig-Koch
6ac2511d20 add dwarf2.c 1997-12-17 08:17:03 +00:00
Mark Alexander
411a624cd1 * configure.tgt: Change little-endian tx39 target name to tx39l.
start-sanitize-tx19
	* configure.tgt: Change little-endian tx19 target name to tx19l.
end-sanitize-tx19
1997-12-16 20:10:36 +00:00
Mark Alexander
72495d1fdd Sanitize recent tic80 change. 1997-12-16 20:04:57 +00:00
Fred Fish
37f82cb4dc * config/tc-tic80.c (tic80_relax): New static variable.
(md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
	(md_parse_option): Handle new relax options.
	(md_show_usage): Document new relax options.
	(find_opcode): Don't use short forms of PC relative branches if
	tic80_relax is set.
PR 12927
1997-12-16 20:03:53 +00:00
Fred Fish
47d1c515b0 * tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit
PC relative offset forms before the 15 bit forms.  An assembler command
	line option now chooses the default.
PR 12927
1997-12-16 20:01:50 +00:00
Ken Raeburn
4d9a31230f mips tweaks from vr5400 branch -- deal with cpus w/interlocks a little better 1997-12-16 19:42:01 +00:00
Ian Lance Taylor
dafec9dda1 * Makefile.in (LIBGUI): New variable.
(GUI_CFLAGS_X): New variable.
	(IDE_CFLAGS): Add $(GUI_CFLAGS_X).
	* configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS.
	* configure: Rebuild.
1997-12-16 18:20:54 +00:00
Brendan Kehoe
f07263913a note that the fix for --enable-shared is not the real way it needs to
be done; libtool.m4 needs a change of some sort instead
1997-12-16 16:16:41 +00:00
Nick Clifton
085e370b46 Fixed m32rx sanitization 1997-12-16 16:04:57 +00:00
Ian Lance Taylor
6f1e21508b sanitize out libide unless keep-ide 1997-12-16 15:45:28 +00:00
Nick Clifton
d745e6d93d Added m32rx sanitization. 1997-12-16 14:54:08 +00:00
Nick Clifton
9a8ea169a6 Added m32rx sanitization 1997-12-16 14:44:16 +00:00
Nick Clifton
a3240f6857 Added m32rx sanitization. 1997-12-16 14:38:21 +00:00
Ian Lance Taylor
67ae6381f5 * Makefile.in: Add libgui directory.
(GDB_TK): Add all-libgui.
	* configure.in: Add libgui directory.
	* configure: Add all-libgui to GDB_TK.
1997-12-16 14:38:16 +00:00
Nick Clifton
3da7442d16 Added m32rx sanitization 1997-12-16 14:28:24 +00:00
Jeff Law
0379d9b25c * mips-opc.c: Add many missing r5900 instructions. 1997-12-16 13:32:20 +00:00
Michael Meissner
e0882f340d Better optimize parallel instructions 1997-12-16 13:25:59 +00:00
Michael Meissner
8f75a0e668 fix tab problem 1997-12-16 12:25:52 +00:00
Jeff Law
4aada8a886 * gas/mips/r5900.s: Add more r5900 tests.
* gas/mips/r5900.d: Corresponding changes.
1997-12-16 12:25:39 +00:00
Michael Meissner
3e367092df Set new d30v opcode flag bits in appropriate instructions. 1997-12-16 12:25:07 +00:00
Jeff Law
0f63020ed8 * gas/mips/r5900.s: New testcase for r5900 insns.
* gas/mips/r5900.d: Support file for r5900 tests.
        * gas/mips/mips.exp: Run r5900 tests too.
1997-12-16 11:54:21 +00:00
Jeff Law
2f1d67ecf0 * remote-sim.c (gdbsim_open): Use "--architecture" instead of
ambigious short form.
1997-12-16 10:22:14 +00:00
Nick Clifton
796daf208f Add armcoff.em to list of kept files. 1997-12-16 09:32:47 +00:00
Nick Clifton
3b70a88538 Added c-m32r.exi to list of kept files. 1997-12-16 09:31:48 +00:00
Nick Clifton
9efc7d599d Prevent use of interworking support in non-COFF targets. 1997-12-16 09:23:11 +00:00
David Taylor
7ae2b4337a back trace now works when using external memory and frameless functions; all
arguments are passed in args registers until we run out; finding saved regs
now has two offsets not just one doing double duty.
TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.
1997-12-16 07:43:26 +00:00
Gavin Romig-Koch
eae435160e Add _bfd_dwarf2_find_nearest_line. 1997-12-16 05:14:30 +00:00
Nick Clifton
3130a39119 Add m32r to multilib support. 1997-12-16 00:14:49 +00:00
Nick Clifton
2e0a5c1051 improve support for m32rx processor. 1997-12-16 00:12:39 +00:00
Nick Clifton
ee73be4088 Document new --m32rx command line option. 1997-12-16 00:00:30 +00:00
Nick Clifton
a450e9f4d1 Add support for --m32rx command line option. 1997-12-15 23:25:27 +00:00
Fred Fish
f60c3b7080 * coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined.
(coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE
	to decide when to align the file sections for paging.
	* coffcode.h (ALIGN_SECTIONS_IN_FILE): Undefine for TIC80COFF.
PR 13814
1997-12-15 23:16:12 +00:00
Nick Clifton
a5fdb81613 Add support for m32rx processor. 1997-12-15 23:10:11 +00:00
Brendan Kehoe
6870e2f5e6 * configure: Only build libopcodes shared if --enable-shared's value
was `yes', or was set to `*opcodes*'.
        * aclocal.m4: Likewise.


so `--enable-shared=libstdc++' doesn't result in building a shared libopcodes

only an interim fix, this is the incorrect formal approach since alocal.m4
itself is generated via what's in devo/libtool/libtool.m4; we need to find
a way to have that somehow hold the real fix.
1997-12-15 19:59:12 +00:00
Brendan Kehoe
3607f666e6 * configure: Only build libbfd shared if --enable-shared's value
was `yes', or was set to `*bfd*'.
        * aclocal.m4: Likewise.

so `--enable-shared=libstdc++' doesn't result in building a shared libbfd.
1997-12-15 19:52:32 +00:00
Jeff Law
91866cc9be * mips-opc.c (mtpc, mfpc, mtps, mfps): Add r5900 variants.
Also move 'P' handling out of vr5400 sanitized code so it can be used
on r5900 too.
1997-12-15 19:43:04 +00:00
Jeff Law
bfdbb113ec Move 'P' and PERFREG stuff outside of the vr5400 sanitization markers. 1997-12-15 19:38:45 +00:00
Jeff Law
8f7df7089a * gas/mips/vr5400.s: Tweak mfpc, mtpc, mfps, mfps, and mtps for
better testing coverage.
        * gas/mips/vr5400.d: Corresponding changes.
1997-12-15 19:25:54 +00:00
Jeff Law
09162f6feb * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
the instruction.
1997-12-15 19:21:25 +00:00
Jim Blandy
7c45d53214 Revert addition of test suite from Alcatel --- we don't have papers
for these.  Changes bracketed with tags jimb_pre_revert_pr13812,
jimb_post_revert_pr13812, so we can easily re-add them when we receive
papers.
1997-12-15 18:24:59 +00:00
Andrew Cagney
02475394db When using sigaction() to install cntrl-c handler do not also use signal(). 1997-12-15 12:59:55 +00:00