aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-10-20 13:54:08 -0700
committerJim Wilson <wilson@gcc.gnu.org>1992-10-20 13:54:08 -0700
commitebb8e0c6c61bba35b56b7692ec73432d6089ba8e (patch)
treebdb8bd25ea321169a1918a035df3c179558c4425
parente6d9804cefdc541b7a85479ca4f97f856d14082f (diff)
downloadgcc-ebb8e0c6c61bba35b56b7692ec73432d6089ba8e.zip
gcc-ebb8e0c6c61bba35b56b7692ec73432d6089ba8e.tar.gz
gcc-ebb8e0c6c61bba35b56b7692ec73432d6089ba8e.tar.bz2
(WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in addition to -Tdata.
From-SVN: r2529
-rw-r--r--gcc/gcc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c7c1e07..77b8e3e 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -392,7 +392,8 @@ static char *switches_need_spaces = SWITCHES_NEED_SPACES;
#ifndef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) \
- (!strcmp (STR, "Tdata") || !strcmp (STR, "include") \
+ (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
+ || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
|| !strcmp (STR, "imacros") || !strcmp (STR, "aux-info"))
#endif