diff options
author | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2019-11-11 11:06:27 +0000 |
---|---|---|
committer | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2019-11-12 10:21:40 +0000 |
commit | a4c5da686d5dcb290f8d5a1dce7c6cb14fc25d1e (patch) | |
tree | 107001aba705c7ebafd335cc554f83f83703816f /cpukit/libdl/rtl-elf.h | |
parent | ada/mptests: Make them compile clean (diff) | |
download | rtems-a4c5da686d5dcb290f8d5a1dce7c6cb14fc25d1e.tar.bz2 |
riscv: preliminarily support for libdl
Support for targets compiled with -fno-pic and -mno-relax
Diffstat (limited to 'cpukit/libdl/rtl-elf.h')
-rw-r--r-- | cpukit/libdl/rtl-elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-elf.h b/cpukit/libdl/rtl-elf.h index 660b0c47b4..3bbc0bd9ee 100644 --- a/cpukit/libdl/rtl-elf.h +++ b/cpukit/libdl/rtl-elf.h @@ -31,7 +31,7 @@ extern "C" { /* * Do not add '()'. Leave plain. */ -#if defined(__powerpc64__) || defined(__arch64__) +#if defined(__powerpc64__) || defined(__arch64__) || (__riscv_xlen == 64) #define ELFSIZE 64 #else #define ELFSIZE 32 |