Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Unified Diff: fusl/arch/microblaze/reloc.h

Issue 1574103002: Remove cruft from fusl (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/arch/microblaze/pthread_arch.h ('k') | fusl/arch/microblaze/syscall_arch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/arch/microblaze/reloc.h
diff --git a/fusl/arch/microblaze/reloc.h b/fusl/arch/microblaze/reloc.h
deleted file mode 100644
index 0a030c7eb2d32f6c7eb2d26de733c1c885580fe1..0000000000000000000000000000000000000000
--- a/fusl/arch/microblaze/reloc.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <endian.h>
-
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-#define ENDIAN_SUFFIX "el"
-#else
-#define ENDIAN_SUFFIX ""
-#endif
-
-#define LDSO_ARCH "microblaze" ENDIAN_SUFFIX
-
-#define TPOFF_K 0
-
-#define REL_SYMBOLIC R_MICROBLAZE_32
-#define REL_GOT R_MICROBLAZE_GLOB_DAT
-#define REL_PLT R_MICROBLAZE_JUMP_SLOT
-#define REL_RELATIVE R_MICROBLAZE_REL
-#define REL_COPY R_MICROBLAZE_COPY
-#define REL_DTPMOD R_MICROBLAZE_TLSDTPMOD32
-#define REL_DTPOFF R_MICROBLAZE_TLSDTPREL32
-
-#define CRTJMP(pc,sp) __asm__ __volatile__( \
- "addik r1,%1,0 ; bra %0" : : "r"(pc), "r"(sp) : "memory" )
-
-#define GETFUNCSYM(fp, sym, got) __asm__ ( \
- ".hidden " #sym " \n" \
- " mfs %0, rpc \n" \
- " addik %0, %0, _GLOBAL_OFFSET_TABLE_+8 \n" \
- " addik %0, %0, " #sym "@GOTOFF \n" \
- : "=r"(*(fp)) : : "memory" )
« no previous file with comments | « fusl/arch/microblaze/pthread_arch.h ('k') | fusl/arch/microblaze/syscall_arch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698