Commit Graph

174 Commits

Author SHA1 Message Date
msaitoh fffd959516 shlelf->elf32shlunx 2001-02-25 15:43:24 +00:00
msaitoh d3115a2cc4 for little endian 2001-02-16 21:11:12 +00:00
msaitoh 8cba53675b define OBJECT_FORMAT_ELF 2001-02-16 21:08:26 +00:00
tsubai 0377b86621 Remove -Dunix, s/-Dsh3/-D__sh3__. 2001-01-22 08:16:24 +00:00
msaitoh dad579c26b apply original gcc rev. 1.29:
* Guard insn splits against illegal regsiters.
2001-01-18 07:54:21 +00:00
msaitoh 55b8b9dd18 fix insv bug (occured big endian only).
original gcc rev. 1.20.
2001-01-18 07:48:40 +00:00
msaitoh 7e950f0b69 apply gcc original rev. 1.34:
* sh.c (block_lump_real): Add missing clobber of T_REG
2001-01-18 07:38:53 +00:00
msaitoh cac0dd0f79 don't jump when !(mode != PSIMODE || reload_completed) 2001-01-18 07:31:48 +00:00
msaitoh 9539d90a33 apply gcc original rev. 1.59:
> 	* config/sh/sh.c (prepare_scc_operands): Apply force_reg to
 > 	sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
 > 	const0_rtx.
2001-01-18 07:16:07 +00:00
msaitoh 64952d6134 - fix print_operand_address bug (more use true_regnum() for SUBREG cases)
- include MANY headres
2001-01-18 07:10:30 +00:00
msaitoh 2fda7fc4f5 ifx output_ieee_ccmpeq() bug:
- 2nd argument is not rtx but rtx *
 - return value of output_ieee_ccmpeq is not void but char *
2001-01-18 07:04:35 +00:00
msaitoh c8ebf4a364 fix REGISTER_MOVE_COST bug (gcc original rev. 1.43):
> *sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS
2001-01-18 06:53:03 +00:00
simonb 3ebe38e227 Use the ASM_OUTPUT_COMMON() and ASM_OUTPUT_LOCAL() macros from gcc
2.95.2's m68kelf.h.  Fixes problems with the size of common objects.

From Charles Hannum.
2000-12-14 06:38:50 +00:00
scw 4c12d23bdb Fix C++ static ctors/dtors by providing the same macros as defined
in i386/netbsd-elf.h.
2000-12-09 20:38:04 +00:00
scw 36f2e9920b Set the emulation target to m68kelfnbsd. 2000-12-07 22:46:04 +00:00
kleink 9cee15bd12 In the ELF toolchain, use __mcount instead of mcount. 2000-12-07 10:14:08 +00:00
thorpej a464410d30 If NBSD_EXEC_PREFIX is set, use it to set MD_EXEC_PREFIX rather
than going with just "/usr/libexec/".

XXX This wouldn't be so gross if the GCC people would give
up their #undef habit.
2000-11-09 06:27:07 +00:00
mycroft fa3aaf6d8b Modify LIB_SPEC and LIBGCC_SPEC so that -lc and -lgcc are not included when
-shared or -symbolic (as on other platforms).  Also, override LIBGCC_SPEC for
all platforms (where it would incorrectly include the .a file explicitly on
some).
This should fix Mozilla on macppc.
2000-10-23 13:19:35 +00:00
msaitoh 9308d053b8 gen_call() takes only two arguments (from egcs-current) 2000-09-13 19:51:22 +00:00
tsubai 84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
msaitoh 559af6df3c fix two bugs:
- cc1 dumps core when "-pg" is used
	- gas produces a syntax error
2000-08-02 12:07:12 +00:00
sommerfeld 85788f586b Pass -m21264 to assembler for -mcpu=21264a or -mcpu=ev67 2000-07-03 12:24:10 +00:00
matt ecd1681660 incease the biggest alignment to 8 bytes 2000-07-03 02:07:15 +00:00
matt 5335c7ffea fix serious recog bug. Basically addl2 was never used since the rtx_equal_p
was using the wrong operands.
2000-07-03 01:09:52 +00:00
bjh21 9fe4c9c75f Add arm26 support to GCC. This is only very slightly tested at present. 2000-07-02 12:31:21 +00:00
kristerw 4c7e15910e Disable "fancy math" the correct way (it's TARGET_DEFAULT that is used
for that kind of flags -- the TARGET_CPU_DEFAULT is used to choose the
cpu type to generate code for...)

Fixes PR 10357.
2000-06-19 19:48:37 +00:00
kristerw 49fd06e241 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions.
2000-06-09 19:11:43 +00:00
enami f838117776 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions for alpha due to the lack of
definition of INCOMING_RETURN_ADDR_RTX.
2000-06-09 08:16:01 +00:00
kristerw 3bf5c279b4 Use sjlj exceptions. 2000-06-08 20:23:47 +00:00
msaitoh d65ffb0be7 sync movsi_i* from egcs-current.
Now the cc1 doesn't say "fixed or forbidden register 18 (t) was
spilled for class T_REGS" anymore.
2000-05-22 08:28:04 +00:00
msaitoh e55cd9cb85 Sync *{mul,div}*i3 with egcs-current.
Now we can compile mount_mfs (newfs) with -O2!
2000-05-20 01:52:52 +00:00
is 8a79eef99f Add clobber of the condition code register. Patch by Richard Earnshaw.
This fixes PR 9613.
2000-05-16 22:04:12 +00:00
shin 9d63410108 use TARGET_DEFAULT to generate PIC code.
closes PR 8574.
2000-05-03 08:23:12 +00:00
shin 4c6474fd65 remove MIPS SOFTFLOAT (forgot to delete these lines). 2000-05-01 13:49:05 +00:00
thorpej 36e829de63 Don't enable CIX on ev6/21264, but add an ev67/21264a switch that does
enable CIX.  Taken roughly from egcs-current.
2000-04-03 16:47:05 +00:00
msaitoh 60ad3dbe9a set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction
is fixed to 16bits.
2000-03-27 18:40:41 +00:00
elric 17b91be06f Changed ev5 L1 cache latency from 2 to 3, as suggested by Bill Dorsey. 2000-03-16 22:46:10 +00:00
shin ac9896415f remove MIPS SOFTFLOAT. 2000-03-05 05:41:03 +00:00
tsutsui 9e1d562a1f - tm.h is automatically generated by configure in gnu/dist/gcc,
so egcs/arch/mips/tm.h should not contain any #ifdefs
- Use -DTARGET_{BIG,LITTLE}_ENDIAN_DEFAULT (which are used in egcs-current)
  to switch mipseb/mipsel
2000-02-19 00:44:31 +00:00
tsutsui 5c8ea7f9f0 Add mipseb support to egcs distfiles. 2000-02-16 11:28:45 +00:00
tsutsui 9658fcaa61 Add support of mipseb target. 2000-02-16 11:23:48 +00:00
kristerw 46e954b5e5 C++ exceptions doesn't work in i386 shared libs when using sjlj exceptions
(as a.out does per default.)  This is because the compiler forgets to
restore the PIC register after a builtin_setjmp (i.e. when catching an
exception.)  This fix is taken from the gcc 2.95 branch.

Fixes PR#9110.
2000-02-01 19:29:33 +00:00
mycroft f6f389921a #define POSIX 2000-01-19 03:57:17 +00:00
msaitoh d64461f26b apply some patches from egcs-current (to make gcc more reliable) 2000-01-06 19:20:35 +00:00
thorpej 4a9e81df67 Pass in the appropriate machine directive to the assembler if an -mcpu=...
option is given to the compiler.  It's silly to have to specify it twice
on a command line (e.g. -mcpu=ev56 -Wa,-mev56), especially considering
that if you don't, and the compiler emits e.g. a BWX instruction, the
assembler will treat it as a macro, open-coding an equivalent, which can
have some serious unwanted side-effects in some situations.

Also, don't treat e.g. 21164 and ev5 as equivalent; the assembler treats
them differently: 21164 enables PALcode-only instructions, while ev5
does not.
1999-12-03 06:37:47 +00:00
msaitoh f0af9ff8e6 add "system.h" 1999-11-26 07:55:14 +00:00
msaitoh 8b2c663a45 gcc for sh3 1999-10-07 17:27:35 +00:00
takemura cdabc2eb91 Hpcmips needs completely FPU instruction free user land.
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
kleink 0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
kleink a8b1129af9 Nuke explicit entry symbol specification; crt0 provides _start, which is
expected by the ELF ld.
1999-08-23 09:36:38 +00:00