* config/rs6000/darwin.h (CC1_SPEC): Handle -gused and -gfull.
* config/i386/darwin.h (CC1_SPEC): Same.
From-SVN: r83655
+2004-06-25 Devang Patel <dpatel@apple.com>
+
+ * config/rs6000/darwin.h (CC1_SPEC): Handle -gused and -gfull.
+ * config/i386/darwin.h (CC1_SPEC): Same.
+
2004-06-25 Mark G. Adams <mark.g.adams@sympatico.ca>
* dbxout.h: Add include guards
#define ASM_SPEC "-arch i686 \
-force_cpusubtype_ALL \
+ %{gused: -g -feliminate-unused-debug-symbols %<gused }\
+ %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
+ %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\
%{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
%{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
%{msse:-force_cpusubtype_ALL}\
#define CC1_SPEC "\
-%{gused: -feliminate-unused-debug-symbols %<gused }\
+%{gused: -g -feliminate-unused-debug-symbols %<gused }\
+%{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
+%{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\
%{static: %{Zdynamic: %e conflicting code gen style switches are used}}\
%{!static:%{!mdynamic-no-pic:-fPIC}}"