Skip to content

Commit 9652b61

Browse files
lzufalcongregkh
authored andcommitted
tools/nolibc: arch-*.h: add missing space after ','
[ Upstream commit 2023349 ] Fix up such errors reported by scripts/checkpatch.pl: ERROR: space required after that ',' (ctx:VxV) #148: FILE: tools/include/nolibc/arch-aarch64.h:148: +void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void) ^ ERROR: space required after that ',' (ctx:VxV) #148: FILE: tools/include/nolibc/arch-aarch64.h:148: +void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void) ^ Signed-off-by: Zhangjin Wu <[email protected]> Signed-off-by: Willy Tarreau <[email protected]> Stable-dep-of: bff6015 ("tools/nolibc: fix up startup failures for -O0 under gcc < 11.1.0") Signed-off-by: Sasha Levin <[email protected]>
1 parent 0f74f12 commit 9652b61

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

tools/include/nolibc/arch-aarch64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ char **environ __attribute__((weak));
175175
const unsigned long *_auxv __attribute__((weak));
176176

177177
/* startup code */
178-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
178+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
179179
{
180180
__asm__ volatile (
181181
#ifdef _NOLIBC_STACKPROTECTOR

tools/include/nolibc/arch-arm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ char **environ __attribute__((weak));
225225
const unsigned long *_auxv __attribute__((weak));
226226

227227
/* startup code */
228-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
228+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
229229
{
230230
__asm__ volatile (
231231
#ifdef _NOLIBC_STACKPROTECTOR

tools/include/nolibc/arch-i386.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const unsigned long *_auxv __attribute__((weak));
190190
* 2) The deepest stack frame should be set to zero
191191
*
192192
*/
193-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
193+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
194194
{
195195
__asm__ volatile (
196196
#ifdef _NOLIBC_STACKPROTECTOR

tools/include/nolibc/arch-loongarch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const unsigned long *_auxv __attribute__((weak));
172172
#endif
173173

174174
/* startup code */
175-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
175+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
176176
{
177177
__asm__ volatile (
178178
#ifdef _NOLIBC_STACKPROTECTOR

tools/include/nolibc/arch-mips.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ char **environ __attribute__((weak));
182182
const unsigned long *_auxv __attribute__((weak));
183183

184184
/* startup code, note that it's called __start on MIPS */
185-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector __start(void)
185+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector __start(void)
186186
{
187187
__asm__ volatile (
188188
/*".set nomips16\n"*/

tools/include/nolibc/arch-riscv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ char **environ __attribute__((weak));
180180
const unsigned long *_auxv __attribute__((weak));
181181

182182
/* startup code */
183-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
183+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
184184
{
185185
__asm__ volatile (
186186
".option push\n"

tools/include/nolibc/arch-s390.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ char **environ __attribute__((weak));
166166
const unsigned long *_auxv __attribute__((weak));
167167

168168
/* startup code */
169-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
169+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
170170
{
171171
__asm__ volatile (
172172
"lg %r2,0(%r15)\n" /* argument count */

tools/include/nolibc/arch-x86_64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const unsigned long *_auxv __attribute__((weak));
190190
* 2) The deepest stack frame should be zero (the %rbp).
191191
*
192192
*/
193-
void __attribute__((weak,noreturn,optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
193+
void __attribute__((weak, noreturn, optimize("omit-frame-pointer"))) __no_stack_protector _start(void)
194194
{
195195
__asm__ volatile (
196196
#ifdef _NOLIBC_STACKPROTECTOR

0 commit comments

Comments
 (0)