Commit graph

12380 commits

Author SHA1 Message Date
Jeff Law
312eb91b73 Add missed log entry for som.c. 1995-02-21 05:12:58 +00:00
Per Bothner
1b5cdb7e22 * pr-5016.exp: Allow builtin types as either case. E.g. (BOOL|bool). 1995-02-21 00:29:08 +00:00
Per Bothner
9fa343240e * chillvars.ch: Add missing INIT's.
* chillvars.exp:  Allow builtin types as either case. E.g. (BOOL|bool).
1995-02-21 00:20:48 +00:00
Jim Kingdon
d940a47ef8 * Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
`..' not in `../..'.
1995-02-19 22:36:18 +00:00
Jim Kingdon
566ac567d6 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.
1995-02-19 21:47:32 +00:00
Jim Kingdon
0794ff457b * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.
1995-02-19 21:12:56 +00:00
Peter Schauer
f5de490455 Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* procfs.c (unconditionally_kill_inferior):  Don't issue a PIOCKILL
	in addition to a PIOCSSIG to kill the inferior.
1995-02-19 19:08:34 +00:00
Per Bothner
27648f269f * gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type. 1995-02-17 23:24:22 +00:00
Per Bothner
fda36387eb * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
	* valops.c (value_cast):  If a cast like (TYPE[])VALUE (i.e. array
	of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
	* c-typeprint.c (c_type_print_varspec_suffix):  If array length
	is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
1995-02-17 23:20:29 +00:00
David Edelsohn
07f27bb80c * arc-dis.c (arc_get_disassembler): Change argument to int,
one of bfd_mach_arc_xxx.  All callers updated.
1995-02-17 20:44:32 +00:00
Ian Lance Taylor
842eba6688 --set-section-flags patch from dje. 1995-02-17 20:42:22 +00:00
David Edelsohn
aa396c6858 * dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.
1995-02-17 20:41:34 +00:00
Ian Lance Taylor
61420a2049 * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).
1995-02-17 20:13:41 +00:00
Ian Lance Taylor
7a3761e194 * config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
	* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
1995-02-17 19:54:47 +00:00
Ian Lance Taylor
5ab41086ca * objcopy.c (struct section_list): Add fields remove, set_flags,
and flags.  Change adjust from boolean to enum.
	(remove_sections): Remove static variable.
	(sections_removed): New static variable.
	(copy_options): Add --set-section-flags.
	(copy_usage): Mention --set-section-flags.
	(parse_flags): New static function.
	(find_section_list): New static function.
	(is_strip_symbol): Change return type from int to boolean.
	(is_strip_section): New static function.
	(filter_symbols): Call is_strip_section.
	(copy_object): When adding sections, check for specified flags or
	VMA.  Call filter_symbols if any sections are being removed.
	(setup_section): Use find_section_list function rather than
	looking through remove_sections and adjust_sections.  Handle
	--set-section-flags.
	(copy_section): Use find_section_list rather than looking through
	remove_sections.
	(strip_main): Use find_section_list instead of adding items to
	sections_removed.
	(copy_main): Use find_section_list instead of adding items to
	sections_removed and adjust_sections.  Handle --set-section-flags.
	* binutils.texi, objcopy.1: Document --set-section-flags.
1995-02-17 19:21:24 +00:00
Ian Lance Taylor
ebb6075d2a * hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Only define SEEK_SET and SEEK_CUR if they are not already defined.
	Remove all external function declarations.
1995-02-17 18:35:40 +00:00
Michael Meissner
1e4b4b1c03 Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from GOT start. 1995-02-17 18:09:23 +00:00
Michael Meissner
5836732bf5 Add PC relative support to PowerPC ELF assembler. 1995-02-17 17:51:00 +00:00
Michael Meissner
eaba51690a Make GOT relocs offset by 32768, which allows the table to double in size. 1995-02-17 17:41:08 +00:00
Ian Lance Taylor
cd0456a208 * syms.c (bfd_decode_symclass): Return 'W' for a weak symbol. 1995-02-17 17:26:48 +00:00
Ian Lance Taylor
6936966a62 * coffgen.c (coff_real_object_p): Set start address and flags
before calling coff_mkobject_hook.  Restore them on failure.
	* ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
	clear D_PAGED.
PR 6341.
1995-02-17 16:57:18 +00:00
Ian Lance Taylor
6dc6a81a7c * coffgen.c: Reindented. 1995-02-17 16:46:52 +00:00
J.T. Conklin
2b53190db8 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
(LDFLAGS): Set to -Xlinker -Ur.
1995-02-17 00:54:00 +00:00
Jim Kingdon
f7ef65ff72 * lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
1995-02-17 00:00:53 +00:00
David Edelsohn
b596295f13 * reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
(bfd_install_relocation): Likewise.
1995-02-16 22:40:19 +00:00
David Edelsohn
b8ed3de398 * expr.c (operand): Move md_operand handling to default case
(so it works).
1995-02-16 22:35:50 +00:00
Ian Lance Taylor
f27ab33041 * mips-opc.c: Add r4650 mul instruction. 1995-02-16 22:35:36 +00:00
Michael Meissner
4e71f1ae3f Rewrite insque/remque support to cast all pointers to PTR. 1995-02-16 21:31:22 +00:00
Michael Meissner
92c6bf4d3a Rewrite Linux insque/remque support again. 1995-02-16 21:09:22 +00:00
J.T. Conklin
3aa3c59383 add 1995 to copyright 1995-02-16 18:42:42 +00:00
J.T. Conklin
65424cda04 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1995-02-16 18:41:54 +00:00
Ian Lance Taylor
fe46552d89 * hosts/std-host.h: Remove all function declarations which return
int or void, except the one for free.
1995-02-16 18:23:57 +00:00
J.T. Conklin
983bfa6327 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
of replicating gdb startup code.
1995-02-16 01:10:04 +00:00
J.T. Conklin
bdbe77580e * config/mt-vxworks (LDFLAGS): Set to -r.
(CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
  (gdb) and gdb for vxworks uses (vxgdb).
1995-02-16 00:44:43 +00:00
J.T. Conklin
be813d0223 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
  program_transform_name to determine the gdb name used by the
  target.
1995-02-16 00:35:53 +00:00
Stan Shebs
bd749fdd7a keep Windows GDB, believe it or not 1995-02-15 23:19:55 +00:00
Michael Meissner
a978b966ff Declare insque/remque as int funcs if not Linux. 1995-02-15 22:59:36 +00:00
Michael Meissner
fed9a8d46e Only protect insque/remque on Linux. 1995-02-15 22:57:53 +00:00
J.T. Conklin
9c79b8b5eb * configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1995-02-15 22:28:51 +00:00
J.T. Conklin
07dff0109d * all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
* remote.texi (NetWare): New node, how to use gdbserve.nlm on
  NetWare targets.  Mostly stolen from the Server node.
1995-02-15 22:01:50 +00:00
Ian Lance Taylor
efc538bab9 Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
	parameter, to match prototype.
1995-02-15 21:11:10 +00:00
Ian Lance Taylor
49ad0c4cf3 * config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF.  From gary@Intrepid.COM (Gary Funck).
1995-02-15 21:08:05 +00:00
Ian Lance Taylor
470feacfab * mips-opc.c: Add uld and usd macros for unaligned double load and
store.
1995-02-15 20:47:31 +00:00
Ian Lance Taylor
a93c34edf1 * gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
	* gas/mips/usd.d: New file.
	* gas/mips/usd.s: New file.
	* gas/mips/mips.exp: Run new tests.
1995-02-15 20:45:35 +00:00
Ian Lance Taylor
adcf2b9d57 * config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
loads and stores).
1995-02-15 20:43:57 +00:00
Ian Lance Taylor
34419a7fe3 Gas reloc handling reeks.
PR 6343.
1995-02-15 20:34:32 +00:00
Michael Meissner
4a6b2f8bbd All ELF relocs. 1995-02-15 20:15:07 +00:00
Michael Meissner
bcbe2c719c Fix powerpc PC relative reloc & add some 16 bit relocs. 1995-02-15 19:57:56 +00:00
Michael Meissner
677653a077 Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux. 1995-02-15 18:51:31 +00:00
Ian Lance Taylor
882d9d1a2f * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define. 1995-02-15 17:20:35 +00:00