Source-Changes-HG archive

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

[src/trunk]: src/regress/lib/csu/initfini/arch/arm "@" is a comment char on a...



details:   https://anonhg.NetBSD.org/src/rev/146c8f32b450
branches:  trunk
changeset: 572233:146c8f32b450
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Dec 27 00:47:57 2004 +0000

description:
"@" is a comment char on arm.  these tests have always failed to pass the
`@progbits' part to obj_elf_section()... but in 2.15 obj_elf_section()
gained a demand_empty_rest_of_line(), and the trailing ", " tripped this
up.  we can (and now do) use ``"progbits"'' instead of ``@progbits''.

diffstat:

 regress/lib/csu/initfini/arch/arm/initfini_asm.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r f6f774f63714 -r 146c8f32b450 regress/lib/csu/initfini/arch/arm/initfini_asm.S
--- a/regress/lib/csu/initfini/arch/arm/initfini_asm.S  Sun Dec 26 23:37:29 2004 +0000
+++ b/regress/lib/csu/initfini/arch/arm/initfini_asm.S  Mon Dec 27 00:47:57 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: initfini_asm.S,v 1.1 2001/07/17 06:40:25 matt Exp $    */
+/*     $NetBSD: initfini_asm.S,v 1.2 2004/12/27 00:47:57 mrg Exp $     */
 
 /*
  * This file placed in the public domain.
@@ -7,10 +7,10 @@
 
 #include <machine/asm.h>
 
-       .section .init, "ax", @progbits
+       .section .init, "ax", "progbits"
        bl      _C_LABEL(i_am_init)
        .previous
 
-       .section .fini, "ax", @progbits
+       .section .fini, "ax", "progbits"
        bl      _C_LABEL(i_am_fini)
        .previous



Home | Main Index | Thread Index | Old Index