From c52761c183c4d9912a27751869a0e326ae3de49e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 25 Jul 2000 10:32:02 +0000 Subject: [PATCH] * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using __STRING(entry) and not #entry. (_RTLD_EPILOGUE): Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise. --- sysdeps/mips/dl-machine.h | 8 ++++---- sysdeps/mips/mips64/dl-machine.h | 8 ++++---- 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.