"@" 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''.
This commit is contained in:
parent
c6d0afc871
commit
c0abe52657
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user