aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-02-11 13:47:54 +0800
committerH.J. Lu <hjl.tools@gmail.com>2025-02-11 18:28:12 +0800
commit7317fc0b03380a83ad03a5fc4fabef5f38c44c9d (patch)
tree10b6024497c423dcc339a6bcad93bd69951fbd91 /gcc
parent0399e3e54a2c891116d6b43683c7fdce689304c5 (diff)
downloadgcc-7317fc0b03380a83ad03a5fc4fabef5f38c44c9d.zip
gcc-7317fc0b03380a83ad03a5fc4fabef5f38c44c9d.tar.gz
gcc-7317fc0b03380a83ad03a5fc4fabef5f38c44c9d.tar.bz2
x86: Correct ASM_OUTPUT_SYMBOL_REF
x is not a macro argument. It just happens to work as final.cc passes x for 2nd argument: final.cc: ASM_OUTPUT_SYMBOL_REF (file, x); PR target/118825 * config/i386/i386.h (ASM_OUTPUT_SYMBOL_REF): Replace x with SYM. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index e8e528c..40b1aa4 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -2235,7 +2235,7 @@ extern unsigned int const svr4_debugger_register_map[FIRST_PSEUDO_REGISTER];
#define ASM_OUTPUT_SYMBOL_REF(FILE, SYM) \
do { \
const char *name \
- = assemble_name_resolve (XSTR (x, 0)); \
+ = assemble_name_resolve (XSTR (SYM, 0)); \
/* In -masm=att wrap identifiers that start with $ \
into parens. */ \
if (ASSEMBLER_DIALECT == ASM_ATT \