Commit Graph

12941 Commits

Author SHA1 Message Date
Ken Raeburn
8baa2ba4c1 * gas/mips/ld.d: Modified for gas delay-slot fixes. 1995-05-02 20:40:22 +00:00
Ken Raeburn
2c4022afdd read.c, tc-mips changes 1995-05-02 19:33:44 +00:00
Ken Raeburn
1dc1e7989f * config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.
* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor
and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.

* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls,
nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of
compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.
1995-05-02 19:33:00 +00:00
Ken Raeburn
2209b19c4e (pop_insert): New function.
(pop_override_ok, pop_table_name): New variables.
(md_pop_insert, obj_pop_insert): New macros.
(pobegin): Use them.

(target_big_endian): If TARGET_BYTES_BIG_ENDIAN is defined, initialize to 1.
1995-05-02 19:30:17 +00:00
Ken Raeburn
833c46e1fb Move cpu-specific dependencies into Makefile.in, instead of having sometimes
multiple copies in config/*.mt.  Select between several make variables with
autoconf substitution of cpu_type into a variable name reference.
1995-05-02 06:46:21 +00:00
Ken Raeburn
78dace0a00 deleting more unused macros 1995-05-02 06:26:15 +00:00
Ken Raeburn
91a165d12e delete some unused TE_* macros 1995-05-02 04:47:35 +00:00
Ken Raeburn
12aab635e0 * read.c (s_app_file): If obj_app_file is defined, call it with string as argument.
Don't call c_dot_file_symbol or elf_file_symbol.
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.

* as.h (OUTPUT_FLAVOR): Don't define here.
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
* config/obj-elf.h (OUTPUT_FLAVOR): Define.
1995-05-01 20:44:46 +00:00
David Edelsohn
dd0f8fcfe4 (gas-dg-test): Detect invalid values of `do_what'. 1995-04-30 20:16:22 +00:00
David Edelsohn
00ff097af1 New testcase to test ARC specific warnings. 1995-04-30 06:38:13 +00:00
David Edelsohn
f6959b8dbb * lib/gas-dg.exp: New file. 1995-04-30 06:35:49 +00:00
David Edelsohn
5af38f24a1 New file (interfaces to dg.exp). 1995-04-30 06:34:53 +00:00
David Edelsohn
3fb52301f0 Initial pass at ARC docs. 1995-04-30 06:14:16 +00:00
David Edelsohn
86a90ab902 ARC stuff. 1995-04-30 04:48:46 +00:00
David Edelsohn
33cfa9b642 Avoid "8 byte insn in delay slot" warning message. 1995-04-30 04:30:57 +00:00
Stu Grossman
e2bc2606ae * array-rom.c (_initialize_array array_open): Move baud_rate
initialization from _initxxx to array_open to fix bug with
	overriding -b command line option.
1995-04-29 06:34:44 +00:00
David Edelsohn
ad0c0b7ffd * Makefile.in (RUNTEST): Fix reference of `srcdir'. 1995-04-28 03:32:06 +00:00
David Edelsohn
85f667f79f * Makefile.in (RUNTEST): Use one in srcdir if present.
(RUNTESTFLAGS): Define.
1995-04-28 03:08:55 +00:00
Michael Meissner
26fc834093 Support Linux systems that do not have the BFD linker installed. 1995-04-27 18:40:32 +00:00
Steve Chamberlain
5d747d616f Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* remote-hms.c: Rewrite to use new monitor conventions.
1995-04-27 02:07:44 +00:00
Steve Chamberlain
f302a4d978 Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com>
* srconv.c (main): Add support for -n option which disables
	prescan of common symbols.
	(wr_ob): If reading past the end of a section, fill with zeros.
1995-04-27 01:59:19 +00:00
Ken Raeburn
931a8fab1b Support for more portable alignment handling in assembly code, based on patches
from Bryan Ford <baford@schirf.cs.utah.edu>:
* read.c (potable): Added balign and p2align, for aligning by bytes or powers
of two independent of what ".align" does for a given target.
* doc/as.texinfo: Document them.
1995-04-26 20:02:18 +00:00
Jeff Law
094a7e4392 * config.guess: Add hppa1.1-hp-lites support. 1995-04-26 16:59:33 +00:00
Jim Kingdon
7da20c1133 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
each test pass or fail.
1995-04-26 14:39:10 +00:00
Ken Raeburn
d3c66665b5 * objdump.c (dump_section_header): Display load address after virtual memory
(run-time) address.
1995-04-26 01:16:41 +00:00
Ken Raeburn
e4fc2696d1 * Makefile.in (install): Depend on "all". 1995-04-26 01:11:57 +00:00
Jim Kingdon
0f60fbb84e Add comment regarding stringtab_global and psymtabs. 1995-04-25 22:58:03 +00:00
Jim Kingdon
ab52cc44ba * dbxread.c: Add comment explaining lowest_text_address. 1995-04-25 18:31:31 +00:00
Rob Savoye
404f16f5b2 * configure, configure.in: Look for m68k-*-vxworks* rather than
just m68k-wrs-vxworks so gas can be configured for
	m68k-vxworks5.1.
1995-04-25 18:14:45 +00:00
Rob Savoye
0672310078 Don't build newlib for m68k-vxworks5.1. 1995-04-25 18:10:53 +00:00
Jason Molenda
0c3c868b2b * hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
std-host.h.
1995-04-25 18:07:43 +00:00
Jason Merrill
eddd19426e Mon Apr 24 16:23:41 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config.guess (*:Linux:*:*): Determine whether the default
	compiler is ELF or a.out.
1995-04-25 01:18:25 +00:00
Jason Merrill
c55c62ed58 Linux configuration name fixes 1995-04-25 01:07:46 +00:00
Jason Molenda
5887848eb4 * configure.in: use ../../bfd/hosts/std-host.h, not
../bfd/hosts/std-host.h (which doesn't exist).
1995-04-24 22:10:32 +00:00
Jason Molenda
8f96fa0e7d * sh-opc.c (sh_nibble_type, sh_arg_type): remove trailing , from
enum list.

some native cc's barf on this (and K&R says it's naughty)
1995-04-24 21:21:58 +00:00
Michael Meissner
423b654e17 Provide escape hatch for HAVE_PROCFS being defined. 1995-04-24 14:38:05 +00:00
Michael Meissner
a96c03cca5 Do not continue processing unknown symbols. 1995-04-24 12:41:37 +00:00
Jim Kingdon
b074fd2f93 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
xlc not gcc.
1995-04-24 04:37:45 +00:00
Jeff Law
87e33b8480 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix. 1995-04-22 07:51:21 +00:00
Jeff Law
4a8b575e62 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
1995-04-22 07:42:36 +00:00
Jeff Law
61fe99b477 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
1995-04-22 07:30:32 +00:00
Stu Grossman
1e2bb16402 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp. 1995-04-21 22:45:59 +00:00
Kung Hsu
cdd2212f75 * minsyms.c: add new function lookup_minimal_symbol_text, to look
for text symbol only.
	* breakpoint.c (create_longjmp_breakpoint): call
	lookup_minimal_symbol_text instead of lookup_minimal_symbol.
	* symtab.h: add lookup_minimal_symbol_text prototype.
1995-04-21 20:02:50 +00:00
Stan Shebs
66d05e03ad * sh-tdep.c (sh-opc.h): Don't include.
(gdbcore.h): Include.
	(frame_find_saved_regs): Remove unused local.
1995-04-21 19:09:01 +00:00
Ken Raeburn
1f2025d9c1 Patches from H.J. Lu for Linux ELF core file support.
* elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t
instead of struct prpsinfo, for consistency.
* hosts/i386linux.h (HAVE_PROCFS): Define.
1995-04-21 16:53:57 +00:00
Jim Kingdon
989d9cbac8 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
	up comments.
1995-04-21 13:19:22 +00:00
Ken Raeburn
4c92f0648f * Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
configure script.
1995-04-20 21:30:10 +00:00
Steve Chamberlain
42aade756b Thu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>
* linker.c (link_action): Do the right thing when a undefined
	strong symbol appears after an undefined weak symbol.
1995-04-20 16:10:44 +00:00
Stu Grossman
43967a761c * config/est.exp: Fix copyright and comments. Remove dead code.
Use targetname, serialport and baud variables instead of fixed
	constants.
	* config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
	* config/cpu32bug.exp:  New file to support cpu32bug monitors.
1995-04-20 00:46:15 +00:00
Stu Grossman
7486c68d68 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
constants into PA instructions.
	* Put #ifdefs around all signal handling code.  Not generally
	needed for embedded boards.
	* (hppa_fix_call_dummy):  Parameterize offsets into call dummy to
	allow different dummys to be used by this code.  Use
	INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
	Conditionalize setup of _sr4export fixup.  Improve comments.
	* config/pa/tm-hppa.h:  Define INSTRUCTION_SIZE.  Use a different
	call dummy if PA_LEVEL_0 is defined.  Better comments for call
	dummys.  Define offsets for LDIL/LDO instructions which load
	function addresses.
	* config/pa/tm-pro.h:  Get rid of signal handling stuff.  Define
	PA_LEVEL_0 to disable mucking with space regs and such.
1995-04-20 00:15:14 +00:00