From 5c90f17f668a073460923508214fe9b9599b495c Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Mon, 10 Nov 2003 12:20:03 +0100 Subject: [PATCH] Add handling of -nostdlib, now recognized/needed by gnat1. From-SVN: r73413 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/lang.opt | 4 ++++ gcc/ada/misc.c | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b5fb857..14d37a4 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,10 @@ 2003-11-10 Arnaud Charlet + * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed + by gnat1. + +2003-11-10 Arnaud Charlet + * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta, no longer needed. diff --git a/gcc/ada/lang.opt b/gcc/ada/lang.opt index e38af20..ec3e924 100644 --- a/gcc/ada/lang.opt +++ b/gcc/ada/lang.opt @@ -53,6 +53,10 @@ nostdinc Ada RejectNegative ; Don't look for source files +nostdlib +Ada +; Don't look for object files + fRTS Ada RejectNegative diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index d0b4936..c7510fc 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -266,6 +266,11 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED) case OPT_nostdinc: break; + case OPT_nostdlib: + gnat_argv[gnat_argc] = xstrdup ("-nostdlib"); + gnat_argc++; + break; + case OPT_fRTS: gnat_argv[gnat_argc] = xstrdup ("-fRTS"); gnat_argc++; -- 2.7.4