diff options
| author | Khem Raj <raj.khem@gmail.com> | 2009-07-20 13:41:28 -0700 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-08-19 12:27:50 -0700 |
| commit | c3f6cad8dc35854c21407326cae6e990ba07ab26 (patch) | |
| tree | 66e95db310041da72fbe8a7f26063d84b5c2f246 /libc/sysdeps/linux/mips/sys/asm.h | |
| parent | 674092a9c523fdb53bf9ed60d1ddbaa30a5a0558 (diff) | |
| download | uClibc-alpine-c3f6cad8dc35854c21407326cae6e990ba07ab26.tar.bz2 uClibc-alpine-c3f6cad8dc35854c21407326cae6e990ba07ab26.tar.xz | |
It fixes the following warnings seen on mips build.
libc/sysdeps/linux/mips/clone.S: Assembler messages:
libc/sysdeps/linux/mips/clone.S:122: Warning: No .frame pseudo-op used in PIC code
libc/sysdeps/linux/mips/clone.S:75: Warning: Pretending global symbol used as branch target is local.
libc/sysdeps/linux/mips/crt1.S: Assembler messages:
libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op used in PIC code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/sys/asm.h')
| -rw-r--r-- | libc/sysdeps/linux/mips/sys/asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sys/asm.h b/libc/sysdeps/linux/mips/sys/asm.h index a339f7de3..d424ed3b1 100644 --- a/libc/sysdeps/linux/mips/sys/asm.h +++ b/libc/sysdeps/linux/mips/sys/asm.h @@ -97,6 +97,7 @@ l: \ # define SETUP_GPX64_L(cp_reg, ra_save, l) # define RESTORE_GP64 # define USE_ALT_CP(a) +# define L(label) $L ## label #else /* (_MIPS_SIM == _MIPS_SIM_ABI64) || (_MIPS_SIM == _MIPS_SIM_NABI32) */ /* * For callee-saved gp calling convention: @@ -131,6 +132,7 @@ l: \ /* Use alternate register for context pointer. */ # define USE_ALT_CP(reg) \ .cplocal reg +# define L(label) .L ## label #endif /* _MIPS_SIM != _MIPS_SIM_ABI32 */ /* |
