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

This commit is contained in:
matt 2012-08-05 01:44:43 +00:00
parent 3e95365cba
commit cf510d3400
1 changed files with 1 additions and 17 deletions

View File

@ -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"\