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

Unified Diff: fusl/arch/or1k/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/or1k/pthread_arch.h ('k') | fusl/arch/or1k/syscall_arch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/arch/or1k/reloc.h
diff --git a/fusl/arch/or1k/reloc.h b/fusl/arch/or1k/reloc.h
deleted file mode 100644
index 128089cac20837bd5fe94e3e9e4ae609cbe7b01f..0000000000000000000000000000000000000000
--- a/fusl/arch/or1k/reloc.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#define LDSO_ARCH "or1k"
-
-#define TPOFF_K 0
-
-#define REL_SYMBOLIC R_OR1K_32
-#define REL_GOT R_OR1K_GLOB_DAT
-#define REL_PLT R_OR1K_JMP_SLOT
-#define REL_RELATIVE R_OR1K_RELATIVE
-#define REL_COPY R_OR1K_COPY
-#define REL_DTPMOD R_OR1K_TLS_DTPMOD
-#define REL_DTPOFF R_OR1K_TLS_DTPOFF
-#define REL_TPOFF R_OR1K_TLS_TPOFF
-
-#define CRTJMP(pc,sp) __asm__ __volatile__( \
- "l.jr %0 ; l.ori r1,%1,0" : : "r"(pc), "r"(sp) : "memory" )
-
-#define GETFUNCSYM(fp, sym, got) __asm__ ( \
- ".hidden " #sym " \n" \
- " l.jal 1f \n" \
- " l.nop \n" \
- " .word " #sym "-. \n" \
- "1: l.lwz %0, 0(r9) \n" \
- " l.add %0, %0, r9 \n" \
- : "=r"(*(fp)) : : "memory", "r9" )
« no previous file with comments | « fusl/arch/or1k/pthread_arch.h ('k') | fusl/arch/or1k/syscall_arch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698