diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-09-12 22:34:08 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-09-12 22:34:08 +0000 |
commit | d48fd218f93dfc00e80a07913f26ad26f8fc819b (patch) | |
tree | f0a846f3f9fdb27ba680a2c042cded5a61b8336e | |
parent | 92bc3c1a9adcccc1fc88bcd8693daad1be783f0f (diff) | |
download | gcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.zip gcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.tar.gz gcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.tar.bz2 |
toplev.c: Move default definition of USER_LABEL_PREFIX...
* toplev.c: Move default definition of USER_LABEL_PREFIX...
* defaults.h: ... here.
From-SVN: r57081
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/defaults.h | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 5 |
3 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e9876e8..794bf25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-09-12 Zack Weinberg <zack@codesourcery.com> + + * toplev.c: Move default definition of USER_LABEL_PREFIX... + * defaults.h: ... here. + 2002-09-12 Richard Henderson <rth@redhat.com> * vax.c: Include tree.h earlier. @@ -27,7 +32,7 @@ (udivmodhi4): Likewise. 2002-09-12 Graham Stott <graham.stott@btinternet.com> - Roger Sayle <roger@eyesopen.com> + Roger Sayle <roger@eyesopen.com> * i386.c (any_fp_register_operand, fp_register_operand, register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand): @@ -89,7 +94,7 @@ Move common code out of conditionals. Localize vars. 2002-09-09 Eric Botcazou ebotcazou@libertysurf.fr - + * optabs.c (expand_binop): Minor cleanup. (expand_twoval_binop): Convert CONST_INTs like in expand_binop. @@ -218,7 +223,7 @@ Fix folding marks. 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> - J"orn Rennecke <joern.rennecke@superh.com> + J"orn Rennecke <joern.rennecke@superh.com> * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits. @@ -336,7 +341,7 @@ 2002-09-07 Igor Shevlyakov <igor@microunity.com> - * varasm.c (decode_rtx_const): Don't check undefined field for + * varasm.c (decode_rtx_const): Don't check undefined field for CONST_VECTOR. 2002-09-07 Glen Nakamura <glen@imodulo.com> diff --git a/gcc/defaults.h b/gcc/defaults.h index e08ed8e..371f17d 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -240,6 +240,11 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \ #endif #endif +/* By default, there is no prefix on user-defined symbols. */ +#ifndef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "" +#endif + /* If the target supports weak symbols, define TARGET_ATTRIBUTE_WEAK to provide a weak attribute. Else define it to nothing. diff --git a/gcc/toplev.c b/gcc/toplev.c index 6e62c6f..49ad175 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -976,11 +976,6 @@ static const param_info lang_independent_params[] = { { NULL, 0, NULL } }; -/* A default for same. */ -#ifndef USER_LABEL_PREFIX -#define USER_LABEL_PREFIX "" -#endif - /* Table of language-independent -f options. STRING is the option name. VARIABLE is the address of the variable. ON_VALUE is the value to store in VARIABLE |