diff options
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 15 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57d166d..3d875ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2001-11-03 Geoffrey Keating <geoffk@redhat.com> + * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss + library at all if -T is used. + * config/stormy16/stormy16.c (stormy16_print_operand): Avoid some uses of uninitialized variables in error cases. diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 5d9beba..e57d056 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -138,15 +138,16 @@ Boston, MA 02111-1307, USA. */ between the two is that `LIB_SPEC' is used at the end of the command given to the linker. - If this macro is not defined, a default is provided that loads the standard - C library from the usual place. See `gcc.c'. + For stormy16: + - If -msim is specified, everything is built and linked as for the sim. + - If -T is specified, that linker script is used, and it should provide + appropriate libraries. + - If neither is specified, everything is built as for the sim, but no + I/O support is assumed. - Defined in svr4.h. */ +*/ #undef LIB_SPEC -#if 0 -#define LIB_SPEC "-( -lc %{msim:-lsim}%{!msim:-leva_app -lnosys} -)" -#endif -#define LIB_SPEC "-( -lc %{msim:-lsim} -)" +#define LIB_SPEC "-( -lc %{msim:-lsim}%{!msim:%{!T*:-lnosys}} -)" /* Another C string constant that tells the GNU CC driver program how and when to place a reference to `libgcc.a' into the linker command line. This |