Module Name:    src
Committed By:   matt
Date:           Sun Aug  5 01:44:44 UTC 2012

Modified Files:
        src/lib/csu/arm_elf: dot_init.h

Log Message:
back out elf note changes since we can use e_flags to determine EABI usage


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/arm_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/csu/arm_elf/dot_init.h
diff -u src/lib/csu/arm_elf/dot_init.h:1.8 src/lib/csu/arm_elf/dot_init.h:1.9
--- src/lib/csu/arm_elf/dot_init.h:1.8	Sat Aug  4 14:57:46 2012
+++ src/lib/csu/arm_elf/dot_init.h	Sun Aug  5 01:44:43 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: dot_init.h,v 1.8 2012/08/04 14:57:46 matt Exp $ */
+/* $NetBSD: dot_init.h,v 1.9 2012/08/05 01:44:43 matt Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
@@ -36,22 +36,6 @@
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 #include <machine/asm.h>
 
-#if defined(__ARM_EABI__) && defined(CRTI)
-__asm(
-	".section\t\".note.netbsd.aeabi\", \"a\"\n"
-	"\t.p2align\t2\n\n"
-
-	"\t.long\t" __S(ELF_NOTE_NETBSD_NAMESZ) "\n"
-	"\t.long\t" __S(ELF_NOTE_ARMEABI_DESCSZ) "\n"
-	"\t.long\t" __S(ELF_NOTE_TYPE_ARMEABI_TAG) "\n"
-	"\t.ascii\t" __S(ELF_NOTE_NETBSD_NAME) "\n"
-	"\t.long\t" __S(ELF_NOTE_ARMEABI_AAPCS) "\n\n"
-
-	"\t.previous\n"
-	"\t.p2align\t2\n"
-);
-#endif /* __ARM_EABI__ */
-
 #define	MD_SECTION_PROLOGUE(sect, entry_pt)		\
 		__asm (					\
 		".section "#sect",\"ax\",%progbits	\n"\

Reply via email to