diff options
author | Mike Stump <mrs@apple.com> | 2006-07-08 00:16:38 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-07-08 00:16:38 +0000 |
commit | 72d41343d2cc8c37d09455031a8fb8f4ee80a8f7 (patch) | |
tree | 4cb455fd6765801d3076d6610384e9671b91d951 /gcc/toplev.c | |
parent | c81d6e2af27a27976f891fb90e1db6dab5af4092 (diff) | |
download | gcc-72d41343d2cc8c37d09455031a8fb8f4ee80a8f7.tar.gz |
toplev.c (process_options): Don't give -ffunction-sections may affect debugging warning for Mach-O.
* toplev.c (process_options): Don't give -ffunction-sections may
affect debugging warning for Mach-O.
From-SVN: r115276
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index a9705a70b5b..f6ff302d1f4 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1783,9 +1783,11 @@ process_options (void) } #ifndef OBJECT_FORMAT_ELF +#ifndef OBJECT_FORMAT_MACHO if (flag_function_sections && write_symbols != NO_DEBUG) warning (0, "-ffunction-sections may affect debugging on some targets"); #endif +#endif /* The presence of IEEE signaling NaNs, implies all math can trap. */ if (flag_signaling_nans) |