GDB that can debug Mach-Os on Linux
Go to file
Ken Raeburn 326aa685fe * tc-m68k.c (flag_reg_prefix_optional): New variable. Initialized to value of
REGISTER_PREFIX_OPTIONAL, if defined, or zero.
(m68k_reg_parse): If flag_reg_prefix_optional is set, permit register prefix to
be absent.
(m68k_ip_op): Accept `&' also for immediate constants.
(insert_reg): Don't bother with (two!?) sanity checks of the symbol table when
inserting each register.
(m68k_parse_long_option): New function.  Set flag_reg_prefix_optional if
"register-prefix-optional" is passed.
* tc-m68k.h (REGISTER_PREFIX): Always define if not already defined.
(OPTIONAL_REGISTER_PREFIX): Don't define.
(REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero
or one depending on M68KCOFF.

Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
* tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC): Define as macros instead
of enumerators, since the Apollo compiler can't handle "enumVal1, enumVal2 =
enumVal1" when defining an enum type.
(make_pcrel_absolute) [NO_PCREL_RELOCS]: New function.
(tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE, R_DIR16, and
R_DIR32 relocs.
* tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC): Use Apollo versions.
[TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine.  That is, do include the
optional header for Apollo target.
(COFF_MAGIC): Don't define as MC68MAGIC if it's already defined.

* tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%' can be used within a
label name.

* tc-m68k.h (m68k_init_after_args): Declare.
(tc_init_after_args): Define as m68k_init_after_args.
* tc-m68k.c (m68k_init_after_args): New function, containing one-shot code from
md_assemble.  Added warning for combination of 68040 and 68851.
(md_assemble): Startup-time code deleted.
1994-04-26 22:21:15 +00:00
bfd Tue Apr 26 15:07:24 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-26 22:10:10 +00:00
binutils * Makefile.in (distclean): Remove $(PROGS) and underscore.c. 1994-04-25 20:15:04 +00:00
config * mh-irix4 (CC): Change -XNh1500 to -XNh2000. 1994-04-12 16:39:21 +00:00
gas * tc-m68k.c (flag_reg_prefix_optional): New variable. Initialized to value of 1994-04-26 22:21:15 +00:00
gdb * i386-nlmstub.c: An interim version till we get PIN for the x86. 1994-04-26 17:24:59 +00:00
gprof * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing 1994-04-05 06:48:56 +00:00
include * sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used by 1994-04-22 17:06:23 +00:00
ld * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 1994-04-26 21:49:45 +00:00
mmalloc * COPYING.LIB: New file (standard version 2 LGPL, as already cited 1993-11-17 04:35:46 +00:00
opcodes * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn 1994-04-17 03:43:18 +00:00
readline * configure.in: Use mh-posix for sunos4.1*. 1994-04-20 17:46:13 +00:00
sim * gencode.c (main, gendefines): New -d option prints table of defines. 1994-02-12 06:02:09 +00:00
.Sanitize A slight simplication. 1994-04-26 19:53:12 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
build-all.mk update platform targets 1994-04-08 23:35:47 +00:00
ChangeLog * test-build.mk (HOLES): Add sleep; used by rcs/src/conf.sh. 1994-04-26 22:12:16 +00:00
ChangeLog.mpw Tue Apr 26 12:54:52 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-26 21:45:10 +00:00
config.guess * config.guess: Recognize NCR running SVR4.3. 1994-03-30 03:15:42 +00:00
config.sub * config.sub (sparc64-elf): Fix os. 1994-04-16 19:19:24 +00:00
configdos.bat Initial revision 1991-12-12 02:47:57 +00:00
configure * configure: Ignore --x-includes and --x-libraries, for Autoconf 1994-04-08 19:03:23 +00:00
configure.bat More dos scripts 1992-02-22 00:25:24 +00:00
configure.in Mon Apr 25 15:06:34 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-26 21:56:36 +00:00
DOC.Sanitize Update for Things-to-lose and lose_these_too. 1994-03-24 16:25:47 +00:00
INSTALL
install-texi.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Install.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
install.sh * install.sh: Remove 'set -e'. It makes any conditionals 1993-11-04 19:13:47 +00:00
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Makefile.in * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed 1994-02-02 19:56:10 +00:00
mpw-build.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-config.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-configure Thu Mar 17 12:55:51 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-03-17 23:02:58 +00:00
mpw-README Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
Pack-A-Progressive Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
SUPPORTED
tape-labels-tex.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
test-build.mk * test-build.mk (CC): For mips-sgi-irix4, change -XNh1500 to 1994-04-11 18:00:46 +00:00