[uClibc-cvs] uClibc/libc/sysdeps/linux/arm crt0.S,1.18,1.19

Erik Andersen andersen at codepoet.org
Sat Feb 8 10:12:46 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/arm
In directory winder:/home/andersen/CVS/uClibc/libc/sysdeps/linux/arm

Modified Files:
	crt0.S 
Log Message:
Fixup handling of the .note.ABI-tag section so that it is ARM only, 
and so it actually works as intended allowing binaries on ARM to be
debugged.
 -Erik


Index: crt0.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/arm/crt0.S,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- crt0.S	23 Jan 2003 17:21:48 -0000	1.18
+++ crt0.S	8 Feb 2003 10:12:12 -0000	1.19
@@ -109,3 +109,17 @@
 	/* Crash if somehow `exit' returns anyways.  */
 	bl abort
 
+/* We need this stuff to make gdb behave itself, otherwise
+   gdb will chokes with SIGILL when trying to debug apps.
+*/
+	.section ".note.ABI-tag", "a"
+	.align 4
+	.long 1f - 0f            
+	.long 3f - 2f            
+	.long  1                 
+0:	.asciz "GNU"             
+1:	.align 4                
+2:	.long 0          
+	.long 2,0,0 
+3:	.align 4                 
+




More information about the uClibc-cvs mailing list