This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (25): hide local label
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 11 Jul 2002 14:27:34 +0200 (CEST)
- Subject: FreeBSD port (25): hide local label
This patch beautifies the "nm libc.so" output by respecting the conventions
for local labels.
2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF.
diff -r -c3 glibc-20020627.bak/sysdeps/unix/i386/brk.S glibc-20020627/sysdeps/unix/i386/brk.S
--- glibc-20020627.bak/sysdeps/unix/i386/brk.S Tue Jul 10 23:01:25 2001
+++ glibc-20020627/sysdeps/unix/i386/brk.S Fri Jul 5 01:17:11 2002
@@ -36,9 +36,9 @@
movl 4(%esp), %eax
#ifdef PIC
/* Standard PIC nonsense to store into `__curbrk' through the GOT. */
- call here
-here: popl %ecx
- addl $_GLOBAL_OFFSET_TABLE_+[.-here], %ecx
+ call L(here)
+L(here): popl %ecx
+ addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ecx
movl C_SYMBOL_NAME(__curbrk@GOT)(%ecx), %ecx
movl %eax, (%ecx)
#else