OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 13:01:33 +0000 (13:01 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 13:01:33 +0000 (13:01 +0000)
commitfc4b79ac62df6f78bffb246168a35c23c7383111
tree6a2113dc552ef9ac00d4f41f482003467af4fc1c
parentbce44532c527d530bf67ef88c98ea03c56507536
gcc/
* config/sh/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Reject -mrelax
unless compiling RTP PIC.

gcc/testsuite/
* gcc.dg/sh-relax.c: Skip for VxWorks if non-PIC.
* gcc.dg/sh-relax-vxworks.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126317 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/vxworks.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sh-relax-vxworks.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/sh-relax.c