Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/arm_elf back out elf note changes since we can use e...



details:   https://anonhg.NetBSD.org/src/rev/c5717e1b9e7f
branches:  trunk
changeset: 780731:c5717e1b9e7f
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 05 01:44:43 2012 +0000

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

diffstat:

 lib/csu/arm_elf/dot_init.h |  18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diffs (32 lines):

diff -r 2e9e6cccc2b3 -r c5717e1b9e7f lib/csu/arm_elf/dot_init.h
--- a/lib/csu/arm_elf/dot_init.h        Sun Aug 05 01:43:58 2012 +0000
+++ b/lib/csu/arm_elf/dot_init.h        Sun Aug 05 01:44:43 2012 +0000
@@ -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"\



Home | Main Index | Thread Index | Old Index