Remove "progbits" section flag
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 17 Feb 2011 20:15:20 +0000 (15:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 17 Feb 2011 20:15:20 +0000 (15:15 -0500)
progbits is set by default on all architectures, and the ARM gcc does not like
when it's explicitely there. So remove it.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/marker.h

index 8e20dad31fbdc97ca0a5b971e5465ad7dd581f26..9ffbb89e5a1befcfe2a7260e8c756c77a38a44e5 100644 (file)
@@ -94,7 +94,7 @@ struct marker {
                         */                                                                     \
                        ".ifndef __mstrtab_" __stringify(channel) "_" __stringify(name) "_channel_" __stringify(unique) "\n\t"  \
                        /*".section __markers_strings\n\t"*/                                    \
-                       ".section __markers_strings,\"aw\",@progbits\n\t"                               \
+                       ".section __markers_strings,\"aw\"\n\t"                                 \
                        "__mstrtab_" __stringify(channel) "_" __stringify(name) "_channel_" __stringify(unique) ":\n\t" \
                        ".string \"" __stringify(channel) "\"\n\t"                                      \
                        "__mstrtab_" __stringify(channel) "_" __stringify(name) "_name_" __stringify(unique) ":\n\t"    \
@@ -106,7 +106,7 @@ struct marker {
                );                                                                              \
                asm volatile (                                                                  \
                        /*".section __markers\n\t"*/ \
-                       ".section __markers,\"aw\",@progbits\n\t"                                       \
+                       ".section __markers,\"aw\"\n\t"                                         \
                        "2:\n\t" \
                        _ASM_PTR "(__mstrtab_" __stringify(channel) "_" __stringify(name) "_channel_" __stringify(unique) ")\n\t" /* channel string */ \
                        _ASM_PTR "(__mstrtab_" __stringify(channel) "_" __stringify(name) "_name_" __stringify(unique) ")\n\t" /* name string */ \
@@ -125,7 +125,7 @@ struct marker {
                        _ASM_PTR "(1f)\n\t" /* location */                                              \
                        ".previous\n\t"                                                         \
                        /*".section __markers_ptrs\n\t"*/ \
-                       ".section __markers_ptrs,\"a\",@progbits\n\t"                           \
+                       ".section __markers_ptrs,\"a\"\n\t"                                     \
                        ".balign 8\n\t"                                                         \
                        _ASM_PTR "(2b)\n\t"                                                     \
                        ".previous\n\t"                                                         \
This page took 0.026181 seconds and 4 git commands to generate.