diff options
Diffstat (limited to 'gcc/config/microblaze/rtems.h')
-rw-r--r-- | gcc/config/microblaze/rtems.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/microblaze/rtems.h b/gcc/config/microblaze/rtems.h index 68aa381b37..56f3f7087d 100644 --- a/gcc/config/microblaze/rtems.h +++ b/gcc/config/microblaze/rtems.h @@ -23,3 +23,10 @@ along with GCC; see the file COPYING3. If not see builtin_define( "__rtems__" ); \ builtin_assert( "system=rtems" ); \ } while (0) + +/* Redefine to include only items relevant for RTEMS */ +#undef LINK_SPEC +#define LINK_SPEC "%{shared:-shared} -N -relax \ + %{mbig-endian:-EB --oformat=elf32-microblaze} \ + %{mlittle-endian:-EL --oformat=elf32-microblazeel} \ + %{mxl-gp-opt:%{G*}} %{!mxl-gp-opt: -G 0}" |