aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mips/dl-machine.h8
-rw-r--r--sysdeps/mips/mips64/dl-machine.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index e1b9163526..d1ac5ccfb7 100644
--- a/sysdeps/mips/dl-machine.h
+++ b/sysdeps/mips/dl-machine.h
@@ -37,13 +37,13 @@
#define OFFSET_GP_GOT 0x7ff0
#ifndef _RTLD_PROLOGUE
-# define _RTLD_PROLOGUE(entry) "\n\t.globl " #entry \
- "\n\t.ent " #entry \
- "\n\t" #entry ":\n\t"
+# define _RTLD_PROLOGUE(entry) "\n\t.globl " __STRING(entry) \
+ "\n\t.ent " __STRING(entry) \
+ "\n\t" __STRING(entry) ":\n\t"
#endif
#ifndef _RTLD_EPILOGUE
-# define _RTLD_EPILOGUE(entry) "\t.end " #entry "\n"
+# define _RTLD_EPILOGUE(entry) "\t.end " __STRING(entry) "\n"
#endif
/* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.
diff --git a/sysdeps/mips/mips64/dl-machine.h b/sysdeps/mips/mips64/dl-machine.h
index 024476b66b..195a1d3634 100644
--- a/sysdeps/mips/mips64/dl-machine.h
+++ b/sysdeps/mips/mips64/dl-machine.h
@@ -32,13 +32,13 @@
#endif
#ifndef _RTLD_PROLOGUE
-# define _RTLD_PROLOGUE(entry) "\n\t.globl " #entry \
- "\n\t.ent " #entry \
- "\n\t" #entry ":\n\t"
+# define _RTLD_PROLOGUE(entry) "\n\t.globl " __STRING(entry) \
+ "\n\t.ent " __STRING(entry) \
+ "\n\t" __STRING(entry) ":\n\t"
#endif
#ifndef _RTLD_EPILOGUE
-# define _RTLD_EPILOGUE(entry) "\t.end " #entry "\n"
+# define _RTLD_EPILOGUE(entry) "\t.end " __STRING(entry) "\n"
#endif
/* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.