rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Only emit lglobl if not weak.
* config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Only emit lglobl if not weak. From-SVN: r202264
This commit is contained in:
parent
e3458796fc
commit
c167bc5b7d
|
@ -1,3 +1,8 @@
|
||||||
|
2013-09-04 David Edelsohn <dje.gcc@gmail.com>
|
||||||
|
|
||||||
|
* config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Only emit
|
||||||
|
lglobl if not weak.
|
||||||
|
|
||||||
2013-09-04 Easwaran Raman <eraman@google.com>
|
2013-09-04 Easwaran Raman <eraman@google.com>
|
||||||
|
|
||||||
PR middle-end/57370
|
PR middle-end/57370
|
||||||
|
|
|
@ -2139,12 +2139,15 @@ extern int toc_initialized;
|
||||||
} \
|
} \
|
||||||
else if (TARGET_XCOFF) \
|
else if (TARGET_XCOFF) \
|
||||||
{ \
|
{ \
|
||||||
fputs ("\t.lglobl\t.", FILE); \
|
if (!RS6000_WEAK || !DECL_WEAK (DECL)) \
|
||||||
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
{ \
|
||||||
putc ('\n', FILE); \
|
fputs ("\t.lglobl\t.", FILE); \
|
||||||
fputs ("\t.lglobl\t", FILE); \
|
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
||||||
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
putc ('\n', FILE); \
|
||||||
putc ('\n', FILE); \
|
fputs ("\t.lglobl\t", FILE); \
|
||||||
|
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
||||||
|
putc ('\n', FILE); \
|
||||||
|
} \
|
||||||
} \
|
} \
|
||||||
fputs ("\t.set\t.", FILE); \
|
fputs ("\t.set\t.", FILE); \
|
||||||
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
RS6000_OUTPUT_BASENAME (FILE, alias); \
|
||||||
|
|
Loading…
Reference in New Issue