mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:51:33 +08:00
Fixed undefined reference to 'dlmodule_relocate'
This is caused by #ifdef __x86__ For x86(32bit) gcc, pre-defined macro is __i386__ not __x86__.
This commit is contained in:
parent
c81ebdc6d9
commit
777554bb86
@ -11,7 +11,7 @@
|
||||
#include "../dlmodule.h"
|
||||
#include "../dlelf.h"
|
||||
|
||||
#ifdef __x86__
|
||||
#ifdef __i386__
|
||||
|
||||
#define R_X86_64_GLOB_DAT 6 /* Create GOT entry */
|
||||
#define R_X86_64_JUMP_SLOT 7 /* Create PLT entry */
|
||||
|
Loading…
x
Reference in New Issue
Block a user