CVS commit: src/lib/csu/arm_elf
Module Name:src Committed By: skrll Date: Mon Aug 19 06:56:15 UTC 2013 Removed Files: src/lib/csu/arm_elf: Makefile crt0.c dot_init.h Log Message: G/C arm COMPILERCRTSTUFF To generate a diff of this commit: cvs rdiff -u -r1.4 -r0 src/lib/csu/arm_elf/Makefile cvs rdiff -u -r1.10 -r0 src/lib/csu/arm_elf/crt0.c cvs rdiff -u -r1.9 -r0 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.
CVS commit: src/lib/csu/arm_elf
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 /* RCS ID & Copyright macro defns */ #include -#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"\
CVS commit: src/lib/csu/arm_elf
Module Name:src Committed By: matt Date: Sat Aug 4 14:57:47 UTC 2012 Modified Files: src/lib/csu/arm_elf: dot_init.h Log Message: Use CRTI instead of __S To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 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.7 src/lib/csu/arm_elf/dot_init.h:1.8 --- src/lib/csu/arm_elf/dot_init.h:1.7 Fri Aug 3 08:01:42 2012 +++ src/lib/csu/arm_elf/dot_init.h Sat Aug 4 14:57:46 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: dot_init.h,v 1.7 2012/08/03 08:01:42 matt Exp $ */ +/* $NetBSD: dot_init.h,v 1.8 2012/08/04 14:57:46 matt Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -36,7 +36,7 @@ #include /* RCS ID & Copyright macro defns */ #include -#if defined(__ARM_EABI__) && defined(__S) +#if defined(__ARM_EABI__) && defined(CRTI) __asm( ".section\t\".note.netbsd.aeabi\", \"a\"\n" "\t.p2align\t2\n\n"
CVS commit: src/lib/csu/arm_elf
Module Name:src Committed By: matt Date: Fri Aug 3 08:01:42 UTC 2012 Modified Files: src/lib/csu/arm_elf: dot_init.h Log Message: Emit a note for EABI programs. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 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.6 src/lib/csu/arm_elf/dot_init.h:1.7 --- src/lib/csu/arm_elf/dot_init.h:1.6 Sat May 10 15:31:03 2008 +++ src/lib/csu/arm_elf/dot_init.h Fri Aug 3 08:01:42 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: dot_init.h,v 1.6 2008/05/10 15:31:03 martin Exp $ */ +/* $NetBSD: dot_init.h,v 1.7 2012/08/03 08:01:42 matt Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -36,6 +36,22 @@ #include /* RCS ID & Copyright macro defns */ #include +#if defined(__ARM_EABI__) && defined(__S) +__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"\
CVS commit: src/lib/csu/arm_elf
Module Name:src Committed By: he Date: Wed Jan 25 13:29:58 UTC 2012 Modified Files: src/lib/csu/arm_elf: crt0.c Log Message: After christos@ latest re-structuring of includes and defines in the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES, so adapt accordingly. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/csu/arm_elf/crt0.c 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/crt0.c diff -u src/lib/csu/arm_elf/crt0.c:1.9 src/lib/csu/arm_elf/crt0.c:1.10 --- src/lib/csu/arm_elf/crt0.c:1.9 Mon Mar 7 05:09:09 2011 +++ src/lib/csu/arm_elf/crt0.c Wed Jan 25 13:29:58 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.9 2011/03/07 05:09:09 joerg Exp $ */ +/* $NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $ */ /* * Copyright (C) 1997 Mark Brinicombe @@ -60,7 +60,7 @@ __asm(" .text \n" " add r2, r2, #0x0004 \n" "\n" " /* Ensure the stack is properly aligned before calling C code. */\n" -" bic sp, sp, #" ___STRING(STACKALIGNBYTES) " \n" +" bic sp, sp, #" ___STRING(STACK_ALIGNBYTES) "\n" " sub sp, sp, #8 \n" " str r5, [sp, #4] \n" " str r4, [sp, #0] \n" @@ -68,7 +68,7 @@ __asm(" .text \n" " b " ___STRING(_C_LABEL(___start)) " "); #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: crt0.c,v 1.9 2011/03/07 05:09:09 joerg Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $"); #endif /* LIBC_SCCS and not lint */ void