Michael Meissner [Wed, 8 Nov 1995 18:57:06 +0000 (18:57 +0000)]
first stage in function unit support; add new switches & latest code from andrew
Ian Lance Taylor [Wed, 8 Nov 1995 18:17:44 +0000 (18:17 +0000)]
* xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
Change all uses.
(xcoff_swap_ldhdr_in): New static function.
(xcoff_swap_ldsym_in): New static function.
(xcoff_link_add_symbols): If we just created a descriptor, pass it
to _bfd_generic_link_add_one_symbol, to save a hash lookup.
(xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols
rather than normal symbol table.
(xcoff_mark): When considering called symbols, check whether the
descriptor is from a dynamic object, rather than the symbol
itself.
(xcoff_build_ldsyms): Likewise.
Ian Lance Taylor [Wed, 8 Nov 1995 16:41:39 +0000 (16:41 +0000)]
* ldemul.c (ldemul_default_target): Cast getenv return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:40:24 +0000 (16:40 +0000)]
* gprof.c (main): Cast getenv return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:39:28 +0000 (16:39 +0000)]
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
Ian Lance Taylor [Wed, 8 Nov 1995 16:34:56 +0000 (16:34 +0000)]
* arsup.c (ar_open): Cast malloc return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:32:40 +0000 (16:32 +0000)]
* libbfd.c (bfd_get_file_window): Change return type to boolean.
Cast realloc and malloc return values. If malloc or realloc fail,
set bfd_error_no_memory.
* bfd-in.h (bfd_get_file_window): Change type to boolean.
* bfd-in2.h: Rebuild.
Jackie Smith Cashion [Wed, 8 Nov 1995 16:04:23 +0000 (16:04 +0000)]
* config/mips/vr4300.mt: Added simulator to default VR4300 build.
NOTE: Only the BigEndian build has the simulator included, because a
LittleEndian simulator is not constructed at the moment (it should
work, but has not been tested fully).
Jackie Smith Cashion [Wed, 8 Nov 1995 15:48:59 +0000 (15:48 +0000)]
* configure.in (mips*-*-*): Added "mips" simulator target.
* configure: Re-generated.
Jackie Smith Cashion [Wed, 8 Nov 1995 15:44:38 +0000 (15:44 +0000)]
Initial check-in of the MIPS simulator. Work still needs to be done on
the run-time support code (interp.c) to provide better tracing, and
also to add profiling and architecture specific support. At the moment
the simulator has a fixed size, fixed address memory area, and
simulates a subset of the IDT monitor calls (enough to execute test
programs).
The other major feature (could even be a bug) is that the simulator
makes use of the GCC "long long" extension. Work has been started to
make this a build configuration option... but there is still a lot of
this to be done.
Stu Grossman [Wed, 8 Nov 1995 00:33:16 +0000 (00:33 +0000)]
* remote-mips.c (mips_initialize): Fix brain damage found by
Jamie. Basically had case statement in the wrong place...
* (mips_load): Remove unnecessary `db tty0' command. It's all
handled by mips_initialize now.
Stu Grossman [Wed, 8 Nov 1995 00:06:58 +0000 (00:06 +0000)]
* remote-mips.c (mips_initialize): Fix brain damage found by
Jamie. Basically had case statement in the wrong place...
Stan Shebs [Tue, 7 Nov 1995 23:49:00 +0000 (23:49 +0000)]
* mpw-mh-mpw (CC_MWC68K, CC_MWCPPC): Remove unused include path.
(CC_MWCPPC): Add -mpw_chars, disable warnings, add comments
explaining reasons for various flags.
(EXTRALIBS_PPC, EXTRALIBS_MWCPPC ): Put runtime library first.
Ian Lance Taylor [Tue, 7 Nov 1995 23:47:45 +0000 (23:47 +0000)]
* configure: Default ${build} correctly. Avoid picking up extra
spaces when reading CC and CXX from Makefile. When doing a
Canadian Cross, use plausible default values for numerous
variables.
* configure.in: When doing a Canadian Cross, don't try to
configure tools whose configure script can't handle it.
Kim Knuttila [Tue, 7 Nov 1995 22:20:00 +0000 (22:20 +0000)]
added PowerPC PE targetting stuff
Kim Knuttila [Tue, 7 Nov 1995 22:14:23 +0000 (22:14 +0000)]
New PowerPC Portable Executable stuff
Ian Lance Taylor [Tue, 7 Nov 1995 21:43:07 +0000 (21:43 +0000)]
* ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs
entries until both the line number address and the function name
address are too large.
PR 8364.
Kim Knuttila [Tue, 7 Nov 1995 21:33:33 +0000 (21:33 +0000)]
First round ld support for PPC PE
Raymond Jou [Tue, 7 Nov 1995 21:13:49 +0000 (21:13 +0000)]
Exclude resources from SIOWgdb.
Kim Knuttila [Tue, 7 Nov 1995 20:47:48 +0000 (20:47 +0000)]
Small PPC support changes
Kim Knuttila [Tue, 7 Nov 1995 20:33:42 +0000 (20:33 +0000)]
NT Changes
Ian Lance Taylor [Tue, 7 Nov 1995 20:21:37 +0000 (20:21 +0000)]
* configure.in: Call AC_CHECK_PROG to find and cache AR.
* configure: Rebuilt.
Kim Knuttila [Tue, 7 Nov 1995 20:00:23 +0000 (20:00 +0000)]
Added some NT defines
Ian Lance Taylor [Tue, 7 Nov 1995 19:04:29 +0000 (19:04 +0000)]
* configure.in: Don't treat rs6000-*-lynx* specially.
* configure: Rebuild.
* config/rslynx: Remove.
* Makefile.in: Remove @target_makefile_fragment@.
Ian Lance Taylor [Tue, 7 Nov 1995 18:51:35 +0000 (18:51 +0000)]
* aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it
is defined in the environment.
Jeff Law [Tue, 7 Nov 1995 17:59:22 +0000 (17:59 +0000)]
* som.c (som_get_section_contents_in_window): Define to use
generic version.
Ian Lance Taylor [Tue, 7 Nov 1995 16:48:29 +0000 (16:48 +0000)]
* ld.texinfo: The linker does not use _main as an entry point.
Ian Lance Taylor [Tue, 7 Nov 1995 16:47:19 +0000 (16:47 +0000)]
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.
Jackie Smith Cashion [Tue, 7 Nov 1995 15:05:04 +0000 (15:05 +0000)]
* 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().
Jim Wilson [Tue, 7 Nov 1995 04:05:40 +0000 (04:05 +0000)]
Patch for old Sega PR
* cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs.
Michael Meissner [Tue, 7 Nov 1995 02:58:35 +0000 (02:58 +0000)]
Remove references to config.make/config.hdr
Ian Lance Taylor [Mon, 6 Nov 1995 23:52:27 +0000 (23:52 +0000)]
* config/tc-alpha.c: Undefine inline if not __GNUC__.
(md_pseudo_table): Don't define "extern".
Ian Lance Taylor [Mon, 6 Nov 1995 23:04:44 +0000 (23:04 +0000)]
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.
Ian Lance Taylor [Mon, 6 Nov 1995 22:42:13 +0000 (22:42 +0000)]
Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
* configure.in: Add case for bfd_i860_arch.
* configure: Rebuild.
Ian Lance Taylor [Mon, 6 Nov 1995 22:29:06 +0000 (22:29 +0000)]
Mon Nov 6 17:28:01 1995 Harry Dolan <dolan@ssd.intel.com>
* i860.h: New file, based on i386.h.
Ian Lance Taylor [Mon, 6 Nov 1995 20:59:44 +0000 (20:59 +0000)]
* 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.
Ian Lance Taylor [Mon, 6 Nov 1995 20:24:57 +0000 (20:24 +0000)]
* ld-empic/empic.exp: Accept a . in the address symbol.
Ken Raeburn [Mon, 6 Nov 1995 20:12:26 +0000 (20:12 +0000)]
add tags target
Ian Lance Taylor [Mon, 6 Nov 1995 20:03:01 +0000 (20:03 +0000)]
* 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.
Ian Lance Taylor [Mon, 6 Nov 1995 19:44:43 +0000 (19:44 +0000)]
* 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.
Ian Lance Taylor [Mon, 6 Nov 1995 19:36:29 +0000 (19:36 +0000)]
* 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.
Ian Lance Taylor [Mon, 6 Nov 1995 16:00:00 +0000 (16:00 +0000)]
* lexsup.c (parse_args): Take B:: out of shortopts.
Michael Meissner [Mon, 6 Nov 1995 15:40:26 +0000 (15:40 +0000)]
delete unused files
Michael Meissner [Mon, 6 Nov 1995 15:37:43 +0000 (15:37 +0000)]
Small changes from Andrew
Jackie Smith Cashion [Mon, 6 Nov 1995 12:02:33 +0000 (12:02 +0000)]
*** empty log message ***
Jackie Smith Cashion [Mon, 6 Nov 1995 11:53:53 +0000 (11:53 +0000)]
Change TARGET_MONITOR_PROMPT into real strings.
Jackie Smith Cashion [Mon, 6 Nov 1995 11:49:44 +0000 (11:49 +0000)]
*** empty log message ***
Jackie Smith Cashion [Mon, 6 Nov 1995 11:43:04 +0000 (11:43 +0000)]
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.
Ken Raeburn [Mon, 6 Nov 1995 10:08:03 +0000 (10:08 +0000)]
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.
Ken Raeburn [Mon, 6 Nov 1995 02:54:36 +0000 (02:54 +0000)]
real log for ecoff change - cast _bfd_read_ar_hdr return value
Ken Raeburn [Mon, 6 Nov 1995 02:52:57 +0000 (02:52 +0000)]
real makefile change - CFILES, dependencies
Ken Raeburn [Mon, 6 Nov 1995 02:51:26 +0000 (02:51 +0000)]
* Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES,
BFD32_BACKENDS, BFD64_BACKENDS.
(.dep1): Put mkdep output in a separate file.
Rebuilt dependencies.
Ken Raeburn [Sun, 5 Nov 1995 10:14:28 +0000 (10:14 +0000)]
some i386-netbsd cleanup
Jason Molenda [Sun, 5 Nov 1995 08:28:20 +0000 (08:28 +0000)]
* configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
Sigh. It's one of those days.
Jason Molenda [Sun, 5 Nov 1995 08:15:15 +0000 (08:15 +0000)]
* configure.in: add check for stddef.h
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
Per Bothner [Sun, 5 Nov 1995 08:14:38 +0000 (08:14 +0000)]
* configure: Remove dubious bug reporting address.
Jason Molenda [Sun, 5 Nov 1995 08:13:39 +0000 (08:13 +0000)]
* configure.in (AC_CHECK_HEADERS): add stddef.h.
Fred Fish [Sun, 5 Nov 1995 05:59:49 +0000 (05:59 +0000)]
Fix typo in ChangeLog itself.
Fred Fish [Sun, 5 Nov 1995 05:40:15 +0000 (05:40 +0000)]
* 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.
Ian Lance Taylor [Sun, 5 Nov 1995 04:54:52 +0000 (04:54 +0000)]
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
Jason Molenda [Sun, 5 Nov 1995 03:12:15 +0000 (03:12 +0000)]
* 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.
Fred Fish [Sun, 5 Nov 1995 00:58:57 +0000 (00:58 +0000)]
* 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.
Fred Fish [Sun, 5 Nov 1995 00:29:13 +0000 (00:29 +0000)]
* 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
Stu Grossman [Sat, 4 Nov 1995 19:02:42 +0000 (19:02 +0000)]
* 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
Fred Fish [Sat, 4 Nov 1995 18:42:30 +0000 (18:42 +0000)]
* 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".
Stu Grossman [Sat, 4 Nov 1995 18:21:17 +0000 (18:21 +0000)]
* config.bfd (mips*-*-magic*): Add bfd_elf32_bigmips_vec to
targ_selvecs to allow debugging under Irix-5 native.
Ian Lance Taylor [Sat, 4 Nov 1995 05:52:15 +0000 (05:52 +0000)]
* config/tc-ppc.c (md_show_usage): Put backslash at end of line.
Ian Lance Taylor [Fri, 3 Nov 1995 21:20:41 +0000 (21:20 +0000)]
* 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.
Ian Lance Taylor [Fri, 3 Nov 1995 21:18:12 +0000 (21:18 +0000)]
fix typo in last change
Ian Lance Taylor [Fri, 3 Nov 1995 20:53:44 +0000 (20:53 +0000)]
* macro.c (macro_expand_body): Don't warn about == with a
nonexistent parameter, in case it is in a comment field.
Ian Lance Taylor [Fri, 3 Nov 1995 20:10:50 +0000 (20:10 +0000)]
use motorola-sysv*, not sysv3*
Michael Meissner [Fri, 3 Nov 1995 19:37:28 +0000 (19:37 +0000)]
Add 2 config flags that were missing; make data cache instructions be nops
Ian Lance Taylor [Fri, 3 Nov 1995 19:11:41 +0000 (19:11 +0000)]
* objdump.c: Include <sys/types.h>.
Ian Lance Taylor [Fri, 3 Nov 1995 18:31:25 +0000 (18:31 +0000)]
* as.c (main): On TC_A29K, call macro_init with macro_alternate
set to 1.
* macro.c (get_any_string): Don't keep quotes if macro_strip_at is
set, even if macro_alternate is set.
(get_apost_token): If macro_strip_at, only skip kind if it is '@'.
(sub_actual): If macro_strip_at, and kind is '@', don't look up
the token unless it ended in '@'.
* config/tc-a29k.c (line_separator_chars): Remove '@'.
* doc/c-a29k.texi: Document macro usage on A29K.
Ian Lance Taylor [Fri, 3 Nov 1995 18:10:38 +0000 (18:10 +0000)]
* gas/m68k/link.s: Use "&" instead of "#" for immediate values.
* gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test.
* gas/m68k/all.exp: Run it.
Ian Lance Taylor [Fri, 3 Nov 1995 17:56:30 +0000 (17:56 +0000)]
* m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
* m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
(NEXTDOUBLE): Likewise.
(print_insn_m68k): Don't match fmoveml if there is more than one
register in the list.
(print_insn_arg): Handle a place of '8' for a type of 'L'.
Ian Lance Taylor [Fri, 3 Nov 1995 17:50:10 +0000 (17:50 +0000)]
fix *-motorola-sysv3* to sysv*
Ian Lance Taylor [Fri, 3 Nov 1995 17:44:16 +0000 (17:44 +0000)]
Permit user to override DEMANGLER_PROG from command line. From
Manfred Hollstein <manfred@lts.sel.alcatel.de>.
* Makefile.in ($(DEMANGLER_PROG)): Depend upon
$(DEMANGLER_PROG).1.
(install): Don't depend upon $(DEMANGLER_PROG).1. Only install
$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
Per Bothner [Fri, 3 Nov 1995 16:18:31 +0000 (16:18 +0000)]
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If subdir has
configure script, run that instead of this directory's configure.
In either case, print a message that we're configuring the sub-dir.
Per Bothner [Fri, 3 Nov 1995 16:08:08 +0000 (16:08 +0000)]
* configure.in: Before checking for the existence of various files,
use sed to filter out "target-".
Ian Lance Taylor [Fri, 3 Nov 1995 04:18:55 +0000 (04:18 +0000)]
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about
an undefined symbol in a shared link.
Ian Lance Taylor [Fri, 3 Nov 1995 04:17:36 +0000 (04:17 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): Correct type of
oldtype from bfd_link_order_type to bfd_link_hash_type. From
phdm@info.ucl.ac.be (Philippe De Muyter).
Ian Lance Taylor [Fri, 3 Nov 1995 04:16:12 +0000 (04:16 +0000)]
use m68k-motorola-sysv*, not sysv3*
Ian Lance Taylor [Fri, 3 Nov 1995 04:13:58 +0000 (04:13 +0000)]
x
Ian Lance Taylor [Fri, 3 Nov 1995 04:12:45 +0000 (04:12 +0000)]
* gas/m68k/link.s, gas/m68k/link.d: New test.
* gas/m68k/all.exp: Run it.
Ian Lance Taylor [Fri, 3 Nov 1995 04:07:21 +0000 (04:07 +0000)]
* m68k-opc.c: Use #W rather than #w.
* m68k-dis.c (print_insn_arg): Handle new 'W' place.
Ian Lance Taylor [Fri, 3 Nov 1995 03:58:09 +0000 (03:58 +0000)]
Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* configure.in (m88k-motorola-sysv*): New target.
* configure: Rebuild.
* config/te-delta88.h: New file.
* config/obj-coff.c (write_object_file): Use md_do_align if it is
defined.
* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
(md_do_align): Define.
* config/tc-m88k.c: Include "subsegs.h".
(m88k_do_align): New function.
* config/te-delta.h (STRIP_UNDERSCORE): Don't define.
(COFF_NOLOAD_PROBLEM): Define.
(LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
Michael Meissner [Fri, 3 Nov 1995 03:55:44 +0000 (03:55 +0000)]
Fix typo in last changes
Ian Lance Taylor [Fri, 3 Nov 1995 03:52:08 +0000 (03:52 +0000)]
* Makefile.in (DO_X): Split rule to decrease command line length
for systems with small ARG_MAX values. From phdm@info.ucl.ac.be
(Philippe De Muyter).
Michael Meissner [Fri, 3 Nov 1995 03:39:27 +0000 (03:39 +0000)]
Update dependencies; Fix multiple options in --enable-sim-cflags
Michael Meissner [Thu, 2 Nov 1995 20:21:35 +0000 (20:21 +0000)]
Use autoconf correctly; provide more stats with -I
Fred Fish [Thu, 2 Nov 1995 15:31:46 +0000 (15:31 +0000)]
* i386-tdep.c (i386_extract_return_value): Make function visible
for all i386 targets, but only assume floating point values returned
in floating point registers for I386_AIX_TARGET.
* i386v-nat.c (i386_register_u_addr): Enable code to locate
floating point regs in user struct.
Fred Fish [Thu, 2 Nov 1995 15:20:50 +0000 (15:20 +0000)]
* config/i386/tm-i386.h: New file containing generic i*86 target
definitions.
(TARGET_BYTE_ORDER): Moved here from tm-i386v.h.
(IEEE_FLOAT): Moved here from tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Define default as 2.
(FUNCTION_START_OFFSET): Moved here from tm-i386v.h.
(SKIP_PROLOGUE): Moved here from tm-i386v.h.
(SAVED_PC_AFTER_CALL): Moved here from tm-i386v.h.
(INNER_THAN): Moved here from tm-i386v.h.
(BREAKPOINT): Moved here from tm-i386v.h.
(DECR_PC_AFTER_BREAK): Moved here from tm-i386v.h.
(ABOUT_TO_RETURN): Moved here from tm-i386v.h.
(REGISTER_SIZE): Moved here from tm-i386v.h.
(NUM_REGS): Moved here from tm-i386v.h.
(REGISTER_NAMES): Moved here from tm-i386v.h.
(EXTRACT_STRUCT_VALUE_ADDRESS): Moved here from tm-i386v.h.
(FP_REGNUM): Moved here from tm-i386v.h.
(SP_REGNUM): Moved here from tm-i386v.h.
(PC_REGNUM): Moved here from tm-i386v.h.
(PS_REGNUM): Moved here from tm-i386v.h.
(FP0_REGNUM): Moved here from tm-i386aix.h.
(FPC_REGNUM): Moved here from tm-sun386.h.
(REGISTER_BYTES): Moved here from tm-i386aix.h.
(REGISTER_BYTE): Moved here from tm-i386aix.h.
(REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
(MAX_REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
(REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
(MAX_REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
(EXTRACT_RETURN_VALUE): Moved here from tm-i386aix.h.
(STORE_RETURN_VALUE): Moved here from tm-i386aix.h.
(REGISTER_VIRTUAL_TYPE): Moved here from tm-i386v.h.
(STORE_STRUCT_RETURN): Moved here from tm-i386v.h.
(FRAME_CHAIN): Moved here from tm-i386v4.h.
(FRAMELESS_FUNCTION_INVOCATION): Moved here from tm-i386v4.h.
(FRAME_SAVED_PC): Moved here from tm-i386os9k.h
(FRAME_ARGS_ADDRESS): Moved here from tm-i386v.h.
(FRAME_LOCALS_ADDRESS): Moved here from tm-i386v.h.
(FRAME_NUM_ARGS): Moved here from tm-i386sun.h.
(FRAME_ARGS_SKIP): Moved here from tm-i386v.h.
(FRAME_FIND_SAVED_REGS): Moved here from tm-i386v.h.
(PUSH_DUMMY_FRAME): Moved here from tm-i386v.h.
(POP_FRAME): Moved here from tm-i386v.h.
(CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Moved here from
tm-i386v.h
(print_387_control_word, print_387_status_word): Declare prototypes.
(struct frame_info, struct frame_saved_regs): Forward decls for
prototypes.
(SP_ARG0): Moved here from tm-i386v.h.
* config/i386/tm-i386v.h:
(i386/tm-i386.h): Include.
(TARGET_BYTE_ORDER): Remove.
(IEEE_FLOAT): Remove.
(START_INFERIOR_TRAPS_EXPECTED): Undef before redefine to 4.
(FUNCTION_START_OFFSET): Remove.
(SKIP_PROLOGUE): Remove.
(i386_skip_prologue): Remove prototype.
(SAVED_PC_AFTER_CALL): Remove.
(INNER_THAN): Remove.
(BREAKPOINT): Remove.
(DECR_PC_AFTER_BREAK): Remove.
(ABOUT_TO_RETURN): Remove.
(REGISTER_SIZE): Remove.
(NUM_REGS): Undef before redefine to 16 (no FP support).
(REGISTER_NAMES): Undef before redefine.
(FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove.
(REGISTER_BYTES): Undef before redefine.
(REGISTER_BYTE): Undef before redefine.
(REGISTER_RAW_SIZE): Undef before redefine.
(REGISTER_VIRTUAL_SIZE): Undef before redefine.
(MAX_REGISTER_RAW_SIZE): Undef before redefine.
(MAX_REGISTER_VIRTUAL_SIZE): Undef before redefine.
(REGISTER_VIRTUAL_TYPE): Undef before redefine.
(STORE_STRUCT_RETURN): Undef before redefine.
(EXTRACT_RETURN_VALUE): Undef before redefine.
(STORE_RETURN_VALUE): Undef before redefine.
(EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_CHAIN): Undef before redefine.
(FRAMELESS_FUNCTION_INVOCATION): Undef before redefine.
(FRAME_SAVED_PC): Undef before redefine.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Undef before redefine.
(FRAME_ARGS_SKIP): Remove.
(FRAME_FIND_SAVED_REGS): Remove.
(PUSH_DUMMY_FRAME): Remove.
(POP_FRAME): Remove.
(CALL_DUMMY): Remove.
(CALL_DUMMY_LENGTH): Remove.
(CALL_DUMMY_START_OFFSET): Remove.
(CALL_DUMMY_BREAKPOINT_OFFSET): Remove
(FIX_CALL_DUMMY): Remove.
(print_387_control_word): Remove.
(print_387_status_word): Remove.
(SP_ARG0): Remove.
* config/i386/tm-symmetry.h:
(TM_SYMMETRY_H): Enclose file in test for define & define if needed.
(START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
(DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
or tm-i386v.h, #undef, and #define to 0.
(MAX_REGISTER_RAW_SIZE): Remove.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
(print_387_control_word, print_387_status_word): Remove prototypes.
* config/i386/tm-ptx.h:
(TM_PTX_H): Enclose file in test for define & define if needed.
(START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
(DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
or tm-i386v.h, #undef, and #define to 0.
(SDB_REG_TO_REGNUM): Remove obsolete commented out define.
(print_387_control_word, print_387_status_word): Remove prototypes.
* config/i386/tm-linux.h:
(TM_LINUX_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
* config/i386/tm-i386v4.h:
(TM_I386V4_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
(FRAME_CHAIN): Moved to tm-i386.h.
(FRAMELESS_FUNCTION_INVOCATION): Moved to tm-i386.h.
(FRAME_SAVED_PC): Remove.
(sigtramp_saved_pc): Define as i386v4_sigtramp_saved_pc.
(FRAME_NUM_ARGS): Remove.
* config/i386/tm-i386os9k.h:
(TM_I386OS9K_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
(NUM_REGS): Undefine before redefining.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Move to tm-i386.h.
* config/i386/tm-i386nw.h:
(TM_I386NW_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
* config/i386/tm-i386bsd.h:
(TM_I386BSD_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
* config/i386/tm-i386aix.h:
(i386/tm-i386.h): Include instead of tm-i386v.h.
(START_INFERIOR_TRAPS_EXPECTED): Remove.
(FP_REGNUM): Remove.
(SP_REGNUM): Remove.
(PC_REGNUM): Remove.
(PS_REGNUM): Remove.
(FP0_REGNUM): Moved to tm-i386.h.
(NUM_REGS): Remove.
(REGISTER_NAMES): Remove.
(REGISTER_BYTES): Moved to tm-i386.h.
(REGISTER_BYTE): Moved to tm-i386.h.
(REGISTER_RAW_SIZE): Moved to tm-i386.h.
(MAX_REGISTER_RAW_SIZE): Moved to tm-i386.h.
(REGISTER_VIRTUAL_SIZE): Moved to tm-i386.h.
(REGISTER_VIRTUAL_TYPE): Removed.
(EXTRACT_RETURN_VALUE): Moved to tm-i386.h.
(STORE_RETURN_VALUE): Moved to tm-i386.h.
* config/i386/tm-sun386.h:
(TM_SUN386_H): Enclose file in test for define & define if needed.
(i386/tm-i386.h): Include.
(TARGET_BYTE_ORDER): Remove.
(FUNCTION_START_OFFSET): Remove.
(SKIP_PROLOGUE): Remove.
(SAVED_PC_AFTER_CALL): Remove.
(INNER_THAN): Remove.
(BREAKPOINT): Remove.
(DECR_PC_AFTER_BREAK): Remove.
(ABOUT_TO_RETURN): Remove.
(REGISTER_SIZE): Remove.
(NUM_REGS): Undefine before defining.
(REGISTER_NAMES): Undefine before redefining.
(REGISTER_BYTES): Undefine before redefining.
(REGISTER_BYTE): Undefine before defining.
(FP_REGNUM): Undefine before defining.
(PC_REGNUM): Undefine before defining.
(FPC_REGNUM): Undefine before defining.
(REGISTER_RAW_SIZE): Undefine before defining.
(FRAME_CHAIN): Undefine before defining.
(FRAMELESS_FUNCTION_INVOCATION): Undefine before defining.
(FRAME_SAVED_PC): Undefine before defining.
(FRAME_NUM_ARGS): Moved to tm-i386.h.
(MAX_REGISTER_RAW_SIZE): Remove.
(MAX_REGISTER_VIRTUAL_SIZE): Remove.
(STORE_STRUCT_RETURN): Remove.
(EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Undefine before defining.
(FRAME_ARGS_SKIP): Remove.
(FRAME_FIND_SAVED_REGS): Remove.
(PUSH_DUMMY_FRAME): Remove.
(POP_FRAME): Remove.
(CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET): Remove.
(struct frame_info, struct frame_saved_regs): Remove forward decls
for prototypes.
* config/i386/tm-i386lynx.h (i386/tm-i386.h): Include instead of
tm-i386v.h.
* config/i386/tm-i386m3.h (i386/tm-i386.h): Include instead of
tm-i386v.h.
Michael Meissner [Thu, 2 Nov 1995 14:28:10 +0000 (14:28 +0000)]
Add ppc-opcode-stupid
Michael Meissner [Thu, 2 Nov 1995 14:27:18 +0000 (14:27 +0000)]
Andrew's latest changes & print all instruction counts if -I
Stan Shebs [Thu, 2 Nov 1995 00:58:23 +0000 (00:58 +0000)]
Tsk tsk, somebody forgot to update .Sanitize when they renamed regex.*...
Jason Molenda [Wed, 1 Nov 1995 23:19:28 +0000 (23:19 +0000)]
* Makefile.in (all-patch): depend on all-libiberty.
Fred Fish [Wed, 1 Nov 1995 23:06:12 +0000 (23:06 +0000)]
* breakpoint.c (breakpoint_re_set): Fix typo in comment.
Fred Fish [Wed, 1 Nov 1995 23:02:09 +0000 (23:02 +0000)]
* gdb.base/break.exp: Change test that deletes all breakpoints
when no user breakpoints are installed. A post 4.15 change
causes gdb to no longer prompt in this case.
Ian Lance Taylor [Wed, 1 Nov 1995 22:12:57 +0000 (22:12 +0000)]
* reloc16.c (bfd_coff_reloc16_get_relocated_section_contents):
Pass input_bfd, not in_bfd, to bfd_coff_reloc16_extra_cases.