FreeBSD port (25): hide local label

Bruno Haible bruno@clisp.org
Thu Jul 11 05:25:00 GMT 2002


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



More information about the Libc-alpha mailing list