@@ -14,7 +14,7 @@
"movk %0, #0x89ab, lsl #16\n\t" \
"movk %0, #0x4567, lsl #32\n\t" \
"movk %0, #0x0123, lsl #48\n\t" \
- ".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
+ ".pushsection .runtime_ptr_" #sym ",\"a\"\n\t" \
".long 1b - .\n\t" \
".popsection" \
:"=r" (__ret)); \
@@ -24,7 +24,7 @@
unsigned long __ret; \
asm_inline("1:\t" \
"lsr %w0,%w1,#12\n\t" \
- ".pushsection runtime_shift_" #sym ",\"a\"\n\t" \
+ ".pushsection .runtime_shift_" #sym ",\"a\"\n\t"\
".long 1b - .\n\t" \
".popsection" \
:"=r" (__ret) \
@@ -11,7 +11,7 @@
asm_inline( \
"0: iihf %[__ret],%[c1]\n" \
" iilf %[__ret],%[c2]\n" \
- ".pushsection runtime_ptr_" #sym ",\"a\"\n" \
+ ".pushsection .runtime_ptr_" #sym ",\"a\"\n" \
".long 0b - .\n" \
".popsection" \
: [__ret] "=d" (__ret) \
@@ -26,7 +26,7 @@
\
asm_inline( \
"0: srl %[__ret],12\n" \
- ".pushsection runtime_shift_" #sym ",\"a\"\n" \
+ ".pushsection .runtime_shift_" #sym ",\"a\"\n" \
".long 0b - .\n" \
".popsection" \
: [__ret] "+d" (__ret)); \
@@ -5,7 +5,7 @@
#define runtime_const_ptr(sym) ({ \
typeof(sym) __ret; \
asm_inline("mov %1,%0\n1:\n" \
- ".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
+ ".pushsection .runtime_ptr_" #sym ",\"a\"\n\t" \
".long 1b - %c2 - .\n\t" \
".popsection" \
:"=r" (__ret) \
@@ -19,7 +19,7 @@
#define runtime_const_shift_right_32(val, sym) ({ \
typeof(0u+(val)) __ret = (val); \
asm_inline("shrl $12,%k0\n1:\n" \
- ".pushsection runtime_shift_" #sym ",\"a\"\n\t" \
+ ".pushsection .runtime_shift_" #sym ",\"a\"\n\t"\
".long 1b - 1 - .\n\t" \
".popsection" \
:"+r" (__ret)); \
@@ -914,8 +914,8 @@
#define NAMED_SECTION(name) \
. = ALIGN(8); \
- name : AT(ADDR(name) - LOAD_OFFSET) \
- { BOUNDED_SECTION_PRE_LABEL(name, name, __start_, __stop_) }
+ . ## name : AT(ADDR(. ## name) - LOAD_OFFSET) \
+ { BOUNDED_SECTION_PRE_LABEL(. ## name, name, __start_, __stop_) }
#define RUNTIME_CONST(t,x) NAMED_SECTION(runtime_##t##_##x)