Add new __lc_used macro
This commit is contained in:
parent
fcd6d9b9f5
commit
43073cfdbb
@ -5,5 +5,6 @@
|
||||
#define __lc_align(n) __attribute__((aligned(n)))
|
||||
#define __lc_deprecated(msg) __attribute__((deprecated(msg)))
|
||||
#define __lc_unreachable __builtin_unreachable
|
||||
#define __lc_used __attribute__((used))
|
||||
|
||||
#endif
|
@ -4,7 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
__attribute__((used)) const char* __argv[] = {NULL}; // For now.
|
||||
__lc_used const char* __argv[] = {NULL}; // For now.
|
||||
|
||||
static void terminate_libc()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user