Commit Graph

14667 Commits

Author SHA1 Message Date
Kim Knuttila
c46101ae0f NT Changes 1995-11-07 20:33:42 +00:00
Ian Lance Taylor
6a46885044 * configure.in: Call AC_CHECK_PROG to find and cache AR.
* configure: Rebuilt.
1995-11-07 20:21:37 +00:00
Kim Knuttila
4e0785aa05 Added some NT defines 1995-11-07 20:00:23 +00:00
Ian Lance Taylor
ae0daa111e * configure.in: Don't treat rs6000-*-lynx* specially.
* configure: Rebuild.
	* config/rslynx: Remove.
	* Makefile.in: Remove @target_makefile_fragment@.
1995-11-07 19:04:29 +00:00
Ian Lance Taylor
6bc200f28d * aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it
is defined in the environment.
1995-11-07 18:51:35 +00:00
Jeff Law
c44bf94c73 * som.c (som_get_section_contents_in_window): Define to use
generic version.
1995-11-07 17:59:22 +00:00
Ian Lance Taylor
e2ce2da872 * ld.texinfo: The linker does not use _main as an entry point. 1995-11-07 16:48:29 +00:00
Ian Lance Taylor
36b72df3de Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo
	0x2000 not 0x200.
1995-11-07 16:47:19 +00:00
Jackie Smith Cashion
8b07d12c1f * remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQ
monitor board.

The mips_initialize() code seemed to have a "funny" switch
statement. I also removed an unnecessary switch into debug monitor
mode just before the call to mips_initialize() in mips_load().
1995-11-07 15:05:04 +00:00
Jim Wilson
f59312e9d9 Patch for old Sega PR
* cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs.
1995-11-07 04:05:40 +00:00
Michael Meissner
bea9581508 Remove references to config.make/config.hdr 1995-11-07 02:58:35 +00:00
Ian Lance Taylor
eec2cfefb2 * config/tc-alpha.c: Undefine inline if not __GNUC__.
(md_pseudo_table): Don't define "extern".
1995-11-06 23:52:27 +00:00
Ian Lance Taylor
cf587de853 Mon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com>
* coff-i860.c: New file, based on coff-i386.c.
	* cpu-i860.c: New file, based on cpu-i386.c.
	* hosts/i860mach3.h: New file, based on hosts/i386mach3.h.
	* config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New
	targets, using i860coff_vec.
	* configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using
	trad-core.o and hosts/i860mach3.h.
	(i860coff_vec): Use coff-i860.o and cofflink.o.
	* configure: Rebuild.
	* Makefile.in: Rebuild dependencies.
	(ALL_MACHINES): Add cpu-i860.o.
	(BFD32_BACKENDS): Add coff-i860.o.
	(CFILES): Add cpu-i860.c and coff-i860.c.
	* targets.c (i860coff_vec): Declare.
	(bfd_target_vector): Add &i860coff_vec.
	* archures.c (bfd_i860_arch): Declare.
	(bfd_archures_list): Add &bfd_i860_arch.
	* coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number.
	(coff_set_flags): Handle bfd_arch_i860.
	(coff_write_object_contents): Handle I860 a.out magic number.
1995-11-06 23:04:44 +00:00
Ian Lance Taylor
f98c336946 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
* configure.in: Add case for bfd_i860_arch.
	* configure: Rebuild.
1995-11-06 22:42:13 +00:00
Ian Lance Taylor
da40dd5330 Mon Nov 6 17:28:01 1995 Harry Dolan <dolan@ssd.intel.com>
* i860.h: New file, based on i386.h.
1995-11-06 22:29:06 +00:00
Ian Lance Taylor
92c71a0b0d * configure.in: Add test for whether free must be declared.
* sysdep.h: Declare free if necessary.  Include "ansidecl.h".
	* acconfig.h: Explain NEED_DECLARATION_FREE.
	* configure, config.in: Rebuild.
1995-11-06 20:59:44 +00:00
Ian Lance Taylor
219555a64d * ld-empic/empic.exp: Accept a . in the address symbol. 1995-11-06 20:24:57 +00:00
Ken Raeburn
4a07e94f2c add tags target 1995-11-06 20:12:26 +00:00
Ian Lance Taylor
28b5eb12a3 * bucomm.h: Include <sys/types.h>.
* ar.c: Don't include <sys/types.h> or <stdio.h>.
	* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
1995-11-06 20:03:01 +00:00
Ian Lance Taylor
1bc9204d5b * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
powerpc*-*-aix*.  Add code to create appropriate exports files,
	and pass appropriate compilation flags, and test against
	appropriate expected output.
	* ld-shared/xcoff.dat: New file.
	* ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
	not be linked using XCOFF.  Use shlib_shlibvar1 as a sample
	function pointer, rather than shlib_mainvar.
	* ld-shared/sh1.c: Likewise.
	* ld-shared/shared.dat: Update for change from using shlib_mainvar
	to using shlib_shlibvar1.
	* ld-shared/sun4.dat: Likewise.
1995-11-06 19:44:43 +00:00
Ian Lance Taylor
83c23fca5b * xcofflink.c (xcoff_link_add_symbols): Set the alignment power of
the created .tc section to 2.
	(xcoff_mark): Don't keep a .loader reloc for a call to an
	undefined symbol when creating a shared library.
	(xcoff_build_ldsyms): When creating a shared library, generate
	global linkage code for a call to an undefined symbol.
1995-11-06 19:36:29 +00:00
Ian Lance Taylor
7ae3065c8f * lexsup.c (parse_args): Take B:: out of shortopts. 1995-11-06 16:00:00 +00:00
Michael Meissner
0934e52021 delete unused files 1995-11-06 15:40:26 +00:00
Michael Meissner
4dcb0cdda6 Small changes from Andrew 1995-11-06 15:37:43 +00:00
Jackie Smith Cashion
3ce59aa616 *** empty log message *** 1995-11-06 12:02:33 +00:00
Jackie Smith Cashion
ccbd58529b Change TARGET_MONITOR_PROMPT into real strings. 1995-11-06 11:53:53 +00:00
Jackie Smith Cashion
25ba9e8f26 *** empty log message *** 1995-11-06 11:49:44 +00:00
Jackie Smith Cashion
3e38efa06e Moved the "sim_open" call to after the callback initialisation. This
is to allow the simulator initialisation code to make use of the host
callback facilities. Had discussed this with sac, and it should be a
harmless change since none of the other simulators really make use of
the call, and it does not return a result.
1995-11-06 11:43:04 +00:00
Ken Raeburn
4fe6d901bd Changes for mmap; details in change log.
Added some new interfaces, and a new entry in the target vector.  Under the new
interfaces, mmap will be used if available, otherwise malloc/seek/read, as
before.  Old interfaces all still intact.

Most configurations (including all used by "--enable-targets=all") simply
changed to call the default routine for that entry in the target vector.  I
might've missed some targets only included in special configurations.

Support for a.out symbol and string table reading now goes through new
interfaces, and will use mmap when available.

Linker hooks (e.g., avoiding reallocation under malloc) not ready yet.
1995-11-06 10:08:03 +00:00
Ken Raeburn
ffacb892eb real log for ecoff change - cast _bfd_read_ar_hdr return value 1995-11-06 02:54:36 +00:00
Ken Raeburn
8d0d665501 real makefile change - CFILES, dependencies 1995-11-06 02:52:57 +00:00
Ken Raeburn
5d9eb9c386 * Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES,
BFD32_BACKENDS, BFD64_BACKENDS.
(.dep1): Put mkdep output in a separate file.
Rebuilt dependencies.
1995-11-06 02:51:26 +00:00
Ken Raeburn
bd329d41ca some i386-netbsd cleanup 1995-11-05 10:14:28 +00:00
Jason Molenda
68bfaddafe * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
Sigh.  It's one of those days.
1995-11-05 08:28:20 +00:00
Jason Molenda
89097c5bc5 * configure.in: add check for stddef.h
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
1995-11-05 08:15:15 +00:00
Per Bothner
96457d7f4d * configure: Remove dubious bug reporting address. 1995-11-05 08:14:38 +00:00
Jason Molenda
da3d57e3f7 * configure.in (AC_CHECK_HEADERS): add stddef.h. 1995-11-05 08:13:39 +00:00
Fred Fish
2bf4561a01 Fix typo in ChangeLog itself. 1995-11-05 05:59:49 +00:00
Fred Fish
01860b7ed1 * core.c: Rename to corefile.c
* core.h:  Rename to corefile.h
	* inline.c: Include corefile.h, renamed from core.h.
	* cpu.h: Include corefile.h, renamed from core.h
	* vm.c: Include corefile.h, renamed from core.h
	* Makefile.in (CPU_H): Change core.h to corefile.h
	(vm.o):  Change dependency to corefile.h
	(LIB_SRC): Change core.c to corefile.c.
	(LIB_OBJ): Change core.o to corefile.o.
	(corefile.o):  Change dependencies to corefile.c, corefile.h.
	* corefile.c: Include corefile.h rather than core.h
	* README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
	references.
1995-11-05 05:40:15 +00:00
Ian Lance Taylor
a3d1c56107 * config/tc-ppc.c (ppc_biei): Force symbol into text_section. 1995-11-05 04:54:52 +00:00
Jason Molenda
c93a17b7ab * configure.in: add AC_HEADER_STDC check.
* mmalloc.h: check if STDC_HEADERS instead of __STDC__.

        * mmprivate.h: check if STDC_HEADERS instead of __STDC__.

This change is necessary to build under AIX 3.2.5 w/ cc after Stan's
Oct 24 change.  I'm not convinced that changing mmalloc.h in this way
is such a good thing--if a directory that doesn't use autoconf (or one
that DOES use autoconf but doesn't put all the defines on the command
line), and it includes mmalloc.h, the right thing won't happen.

I believe gdb is the only directory which uses mmalloc, though, so
it should be OK.
1995-11-05 03:12:15 +00:00
Fred Fish
1738bcd31b * Makefile.in (COMMON_OBS): Use corefile.o rather than core.o
* core.c:  Rename to corefile.c.
	* config/pyr/tm-pyr.h, umax-xdep.c, sun386-nat.c, pyr-xdep.c,
	* Makefile.in (SFILES), gould-xdep.c, coredep.c, armtdep.c,
 	arm-xdep.c, altos-xdep.c: Change core.c references to corefile.c.

 	From Graham Stoney <greyham@research.canon.oz.au>.
	* Makefile.in (remote-array.o):  Add rule to build.
	(ALLDEPFILES): Add remote-array.c
	* remote-array.c (baud_rate):  Remove unnecessary declaration.
	(baudrate):  Remove.
	(array_files_info):  Print global baud_rate not baudrate.
1995-11-05 00:58:57 +00:00
Fred Fish
d9e771e3b0 * core.c: Renamed to corefile.c
* makefile.dos (OBJS): Change core.o to corefile.o
	* Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c
1995-11-05 00:29:13 +00:00
Stu Grossman
188c635fbb * Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.
* fork-child.c (fork_inferior):  Add call to
	TARGET_CREATE_INFERIOR_HOOK to allow target specific code to get
	control just before the new process executes it's first instruction.
	* remote-mips.c (mips_initialize):  Cleanup a bit.  Don't try to
	receive a packet at first.  This speeds up initialization a lot.
	Use TARGET_MONITOR_PROMPT instead of "<IDT>".
	(common_breakpoint):  Use rresponse instead of rerrflg to inspect
	error code.
	* symfile.c (syms_from_objfile reread_symbols):  Call
	TARGET_SYMFILE_POSTREAD to allow target specific code to get
	control after reading new symbols.
	* target.h:  New macros TARGET_SYMFILE_POSTREAD, and
	TARGET_CREATE_INFERIOR_HOOK.  See above for descriptions.
	* config/mips/{irix5.mh nm-irix5.h}:  Delete nm-irix5.h.  Make
	NAT_FILE point directly at ../nm-sysv4.h.
	* config/mips/{mipsm3.mh nm-m3.h}:  Delete nm-m3.h.  Make
	NAT_FILE point directly at ../nm-m3.h.
	* config/mips/{mipsv4.mh nm-sysv4.h}:  Delete nm-sysv4.h.  Make
	NAT_FILE point directly at ../nm-sysv4.h.
	* config/mips/nm-mips.h:  Improve comment at top of file.
	* config/mips/tm-mips.h (TARGET_MONITOR_PROMPT):  Change
	definition into a proper string.
start-sanitize-gm
	* configure configure.in:  Add support for --enable-gm.
	(mips*-*-magic*):  Change target from magic to idt.
	* eval.c expprint.c expression.h parse.c remote-mips.c utils.c:
	Change GENERAL_MAGIC_HACKS to GENERAL_MAGIC.
	* magic.c magic.h:  Update files from GM.
	* config/mips/magic.mt:  Delete.  No longer necessary now that we
	use --enable mechanism.
	* config/mips/tm-idt.h:  Add GM stuff needed for remote GM box.
	* config/mips/tm-irix5.h:  Add GM stuff needed for native Irix box.
	* config/mips/tm-magic.h:  Move up to config/tm-magic.h.  Move all
	platform specific stuff into tm-irix.h and tm-idt.h.  Add defs for
	TARGET_SYMFILE_POSTREAD and TARGET_CREATE_INFERIOR_HOOK.
end-sanitize-gm
1995-11-04 19:02:42 +00:00
Fred Fish
536a7a1618 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
i*86-*-linux* xfails for "backtrace through signal handler".
	* gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
	"print func2::coremaker_local".
	* gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
 	xfail for
	"delete all breakpoints when none".
1995-11-04 18:42:30 +00:00
Stu Grossman
bf917766db * config.bfd (mips*-*-magic*): Add bfd_elf32_bigmips_vec to
targ_selvecs to allow debugging under Irix-5 native.
1995-11-04 18:21:17 +00:00
Ian Lance Taylor
df7504dc52 * config/tc-ppc.c (md_show_usage): Put backslash at end of line. 1995-11-04 05:52:15 +00:00
Ian Lance Taylor
583db7a8e1 * xcofflink.c (xcoff_link_add_symbols): Rename local variable sub
to o.  Clobber and restore the list of new csects around the call
	to _bfd_generic_link_add_one_symbol, in case it wants to report a
	linker error and the linker wants to read the symbol table.  Reset
	the line number count of a real section even if it has no relocs.
	(_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag.
1995-11-03 21:20:41 +00:00
Ian Lance Taylor
fa0c23ebb0 fix typo in last change 1995-11-03 21:18:12 +00:00
Ian Lance Taylor
36e80ac6ee * macro.c (macro_expand_body): Don't warn about == with a
nonexistent parameter, in case it is in a comment field.
1995-11-03 20:53:44 +00:00