Commit Graph

650 Commits

Author SHA1 Message Date
Joel Sherrill
8aa4e786fb go32-rtems.h, [...] (subtarget_switches): Removed SUBTARGET_SWITCHES definitions.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
          mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
          sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
          definitions.  Use -qrtems instead of -mrtems.

From-SVN: r15058
1997-09-03 09:42:45 -06:00
Jeffrey A Law
a63d08e606 cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* cccp.c (sys_errlist): Remove special 4.4bsd declaration.
        * collect2.c (sys_errlist): Likewise.
        * cpplib.c (sys_errlist): Likewise.
        * gcc.c (sys_errlist): Likewise.
        * protoize (sys_errlist): Likewise.
        * configure.in: Check for strerror.
        * xm-freebsd.h (HAVE_STRERROR): Remove definition.
        * xm-gnu.h (HAVE_STRERROR): Likewise.
        * xm-linux.h (HAVE_STRERROR): Likewise.
        * xm-netbsd.h (HAVE_STRERROR): Likewise.
        * xm-bsd386.h (HAVE_STRERROR): Likewise.
        * xm-cygwin32.h (HAVE_STRERROR): Likewise.
        * xm-dos.h (HAVE_STRERROR): Likewise.
        * xm-mingw32.h (HAVE_STRERROR): Likewise.
        * xm-pa.h (HAVE_STRERROR): Likewise.
        * xm-papro.h (HAVE_STRERROR): Likewise.
        * xm-sysv4.h (HAVE_STRERROR): Likewise.
        * configure, config.in: Rebuilt.
Remove the need to define HAVE_STRERROR for each host port.

From-SVN: r15011
1997-09-01 11:02:53 -06:00
Jeffrey A Law
e3512ac291 collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
        * mips-tfile.c: Likewise.
        * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
        * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
        * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
        * configure.in: Check for sys_siglist declaration.
        * configure, config.in: Rebuilt.

Fix conflicting sys_siglist decls once and for all.

From-SVN: r15007
1997-09-01 08:57:29 -06:00
Joel Sherrill
5d84b57e6f go32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
        m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
        sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
        * i960/i960.h: Added SUBTARGET_SWITCHES macro.
        * rs6000/sysv4.h (extra_subtarget_switches): Added new
        macro EXTRA_SUBTARGET_SWITCHES.
        * configure.in (sh*-*-rtems*): New target.
        * sh/rtems.h: New file.
        * sh/sh.h: Added SUBTARGET_SWITCHES macro.
        * configure: Rebuilt.

From-SVN: r15006
1997-09-01 08:14:30 -06:00
David Edelsohn
3b7e5ef4c7 Pay DF fused add ops pay attention to -mno-fused-add
From-SVN: r15002
1997-08-30 14:55:17 +00:00
H.J. Lu
bba17b29e1 linux.h (CC1_SPEC): Define it only if not defined.
* config/linux.h (CC1_SPEC): Define it only if not defined.

        * config/m68k/linux.h (CC1_SPEC): Undefine it before include
        <linux.h>

        * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
        USE_GNULIBC_1 is not defined.

        * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1.
        * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Ditto.

        * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1 if USE_GNULIBC_1 is not defined.
Linux patches from HJ.

From-SVN: r14960
1997-08-27 01:26:22 -06:00
Jim Wilson
19372aa112 Fix AIX build problem when IBM cc is used.
* acconfig.h (NEED_DECLARATION_CALLOC): Add.
	* configure.in: Add GCC_NEED_DECLARATION call for calloc.
	* rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
	declarations.
	* config.in, configure: Regenerate.

From-SVN: r14896
1997-08-22 14:39:10 -07:00
Michael Meissner
246853b927 Work with haifa renaming get_issue_rate -> ISSUE_RATE
From-SVN: r14858
1997-08-20 19:08:56 +00:00
Michael Meissner
bb21487f9b Use unsigned HOST_WIDE_INT, not unsigned.
From-SVN: r14402
1997-07-08 20:48:20 +00:00
Richard Kenner
7affc5753e (LINK_SPEC): Defined.
From-SVN: r14378
1997-07-02 07:02:40 -04:00
Michael Meissner
7cd5235bad fix previous change
From-SVN: r14364
1997-07-01 15:08:07 +00:00
Michael Meissner
38c1f2d7e6 Fix various problems; Add -m{,no-}fused-madd, -m{,no-}no-update switches; Allow add/and/ior/xor of 32 bit constants
From-SVN: r14361
1997-06-29 16:13:13 +00:00
Michael Meissner
f9317f0d75 make wchar_t long, not unsigned short
From-SVN: r14322
1997-06-25 22:17:58 +00:00
Richard Kenner
8b83775b03 (output_epilog): Name is "GNU Pascal", not all caps.
From-SVN: r14279
1997-06-21 06:51:38 -04:00
Michael Meissner
b2e0187668 Build libgcc.a with -mstrict-align
From-SVN: r14223
1997-06-10 21:27:51 +00:00
Michael Meissner
daf119730b -mcpu=403 sets -mstrict-align
From-SVN: r14222
1997-06-10 21:18:26 +00:00
Mike Stump
28174a1465 libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot access globals after throw's epilogue when...
* libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot
	access globals after throw's epilogue when -fno-sjlj-exceptions is
	used.
	* rs6000.c (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	* mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	(INITIAL_ELIMINATION_OFFSET): Fix RETURN_ADDRESS_POINTER_REGNUM
	for 64 bit words, with 32 bit pointers and variable endianness.
Fixes throwing across shared library lines (useful at times on mips and rs6000)

From-SVN: r14168
1997-06-06 23:18:36 +00:00
Michael Meissner
ab9eef419e Fix powerpc-{eabi,linux,sysv} problem with -mrelocatable
From-SVN: r14103
1997-05-19 22:03:56 +00:00
Mike Stump
30ccf55d85 rs6000.c (rs6000_stack_info): Only do eabi setup for "main"...
* rs6000/rs6000.c (rs6000_stack_info): Only do eabi setup for "main",
	when main is the global main, not some nested routine that
	happens to be called main.

From-SVN: r14072
1997-05-16 20:42:42 +00:00
David Edelsohn
f0dc3f4925 extend restrictions on combining lshiftrt with insv to all shifts
From-SVN: r14057
1997-05-09 18:47:12 +00:00
David Edelsohn
95e8f2f306 improve test for last change
From-SVN: r14046
1997-05-08 02:20:15 +00:00
David Edelsohn
24f2dbd6f7 fix zero_extract lshiftrt insv combiner pattern bug
From-SVN: r14044
1997-05-07 21:59:30 +00:00
David Edelsohn
189e03e322 rename ALIGN to RS6000_ALIGN to protect namespace
From-SVN: r14011
1997-05-02 18:39:25 +00:00
David Edelsohn
ed33106f8b rename ALIGN to RS6000_ALIGN to prtect namespace
From-SVN: r14010
1997-05-02 18:38:53 +00:00
Jason Merrill
ad4ff31086 x
From-SVN: r13994
1997-04-30 18:13:30 +00:00
Richard Kenner
f0f6a2233f (nonlocal_goto_receiver): New pattern.
From-SVN: r13943
1997-04-20 17:44:57 -04:00
Richard Kenner
c7ca610ed5 (rs6000_output_load_toc_table): New function.
(output_prolog): Call it instead of doing it directly.

From-SVN: r13942
1997-04-20 17:44:06 -04:00
David Edelsohn
6318808ce5 define itrunc, uitrunc, and mcount macros without prepended underscores
From-SVN: r13907
1997-04-14 22:09:53 +00:00
David Edelsohn
5bf6466a8f prepend underscores to itrunc and uitrunc
define RS6000_MCOUNT macro as symbol with underscores

From-SVN: r13906
1997-04-14 22:07:42 +00:00
David Edelsohn
9c849d2a8a change hardcoded .mcount to RS6000_MCOUNT
From-SVN: r13905
1997-04-14 22:06:31 +00:00
Michael Meissner
07e6159a93 Add -mcpu={604e,801,823} support
From-SVN: r13901
1997-04-14 19:04:40 +00:00
Michael Meissner
1b30b9cf1d Fix adddi3 problem from wilson; make sol-ci.asm assemble with new gas
From-SVN: r13839
1997-04-06 01:51:07 +00:00
Michael Meissner
7093ddee37 Fixes from wilson
From-SVN: r13832
1997-04-02 22:26:01 +00:00
Michael Meissner
4053f6406e Update rtems configuration
From-SVN: r13783
1997-03-24 21:10:53 +00:00
Michael Meissner
5ae4759c1c Patches from wilson; consider fp constants if -mrelocatable to be hard
From-SVN: r13754
1997-03-20 19:02:29 +00:00
Michael Meissner
e035031935 Do not emit USE on a LABEL_REF
From-SVN: r13695
1997-03-06 22:28:22 +00:00
Michael Meissner
9e25c9c9ef Remove last change
From-SVN: r13687
1997-03-03 23:13:39 +00:00
Michael Meissner
f28c0e6987 Prevent compiler error
From-SVN: r13683
1997-02-28 23:01:16 +00:00
Michael Meissner
d302f4f2a8 Fix uses of -mno-fp-in-toc and -mrelocatable
From-SVN: r13682
1997-02-28 21:14:42 +00:00
Michael Meissner
eea5dcb81d Set DBX_CONTIN_LENGTH
From-SVN: r13679
1997-02-27 01:54:51 +00:00
Michael Meissner
1883e71601 Make fprintf calls type correct.
From-SVN: r13678
1997-02-27 00:35:52 +00:00
Michael Meissner
431c5c475d Define HAVE_STRERROR.
From-SVN: r13675
1997-02-24 22:41:37 +00:00
Jim Wilson
538bb15864 (floatsidf2_loadaddr): Correct syntax for cau instruction.
(load_multiple, store_multiple): Call change_address
instead of creating MEM from scratch.

From-SVN: r13674
1997-02-23 14:17:29 -08:00
Richard Kenner
5b6f7b962e (CONST_OK_FOR_LETTER_P): Use (unsigned HOST_WIDE_INT).
(LEGITIMATE_ADDRESS_INTEGER_P, LEGITIMIZE_ADDRESS): Likewise.

From-SVN: r13662
1997-02-17 08:05:55 -05:00
Richard Kenner
a7653a2c2f ({,non_}short_cint_operand): Use (unsigned HOST_WIDE_INT).
(non_add_cint_operand, includes_rshift_p): Likewise.

From-SVN: r13661
1997-02-17 08:05:04 -05:00
Michael Meissner
01be8af60b Declare malloc and friends
From-SVN: r13628
1997-02-11 21:01:23 +00:00
Michael Meissner
9ec30f9223 update copyright.
From-SVN: r13544
1997-01-21 22:36:23 +00:00
Michael Meissner
2e4eb9b08e Fix handling of vt if -mminimal-toc
From-SVN: r13543
1997-01-21 22:26:06 +00:00
Michael Meissner
b8811494b4 Use eabi.h, not sysv.h
From-SVN: r13499
1997-01-16 20:47:28 +00:00
Michael Meissner
9e5e9ebad5 Fix copyright msg.
From-SVN: r13497
1997-01-16 16:05:32 +00:00