som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they have global scope.
* pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they have global scope. From-SVN: r34814
This commit is contained in:
parent
32c4c36c29
commit
add284e6ea
|
@ -1,3 +1,8 @@
|
|||
2000-06-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||
|
||||
* pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
|
||||
have global scope.
|
||||
|
||||
2000-06-30 Martin von Loewis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* invoke.texi (-Wreturn-type): In C++, a missing return type is
|
||||
|
|
|
@ -384,6 +384,14 @@ do { \
|
|||
/* This is how we tell the assembler that a symbol is weak. */
|
||||
|
||||
#define ASM_WEAKEN_LABEL(FILE,NAME) \
|
||||
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
|
||||
fputc ('\n', FILE); } while (0)
|
||||
do { fputs ("\t.weak\t", FILE); \
|
||||
assemble_name (FILE, NAME); \
|
||||
fputc ('\n', FILE); \
|
||||
if (! FUNCTION_NAME_P (NAME)) \
|
||||
{ \
|
||||
fputs ("\t.EXPORT ", FILE); \
|
||||
assemble_name (FILE, NAME); \
|
||||
fputs (",DATA\n", FILE); \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue