Переглянути джерело

ctors.S: Fix section definitions

Using @ doesn't work on ARM32

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer 1 рік тому
батько
коміт
584425eb2a
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      lib/ctors.S

+ 4 - 4
lib/ctors.S

@@ -8,28 +8,28 @@
  * end/END definitions, and the fact that they're mergeable, they can also
  * have NULLs which aren't guaranteed to be at the end.
  */
-	.section .init_array, "aw", @init_array
+	.section .init_array,"aw",%init_array
 	.p2align 3, 0
 	.globl __init_array_start
 __init_array_start:
 	.p2align 3, 0
 	.globl __init_array_end
 __init_array_end:
-	.section .ctors, "aw", @progbits
+	.section .ctors,"aw",%progbits
 	.p2align 3, 0
 	.globl __CTOR_LIST__
 __CTOR_LIST__:
 	.p2align 3, 0
 	.globl __CTOR_END__
 __CTOR_END__:
-	.section .dtors, "aw", @progbits
+	.section .dtors,"aw",%progbits
 	.p2align 3, 0
 	.globl __DTOR_LIST__
 __DTOR_LIST__:
 	.p2align 3, 0
 	.globl __DTOR_END__
 __DTOR_END__:
-	.section .fini_array, "aw", @fini_array
+	.section .fini_array,"aw",%fini_array
 	.p2align 3, 0
 	.globl __fini_array_start
 __fini_array_start: