diff options
author | 2022-03-29 17:17:31 +0700 | |
---|---|---|
committer | 2022-04-20 17:05:46 -0700 | |
commit | 1590c59836dace3a20945bad049fe8802c4e6f3f (patch) | |
tree | 31761171934d4e26a55599c4dba4ef1a79c862d3 /lib/test_bitmap.c | |
parent | tools/nolibc: Replace `asm` with `__asm__` (diff) | |
download | linux-dev-1590c59836dace3a20945bad049fe8802c4e6f3f.tar.xz linux-dev-1590c59836dace3a20945bad049fe8802c4e6f3f.zip |
tools/nolibc: Remove .global _start from the entry point code
Building with clang yields the following error:
```
<inline asm>:3:1: error: _start changed binding to STB_GLOBAL
.global _start
^
1 error generated.
```
Make sure only specify one between `.global _start` and `.weak _start`.
Remove `.global _start`.
Cc: llvm@lists.linux.dev
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions