[uClibc-cvs] svn commit: trunk/uClibc/include
lethal at uclibc.org
lethal at uclibc.org
Thu Mar 31 19:18:55 UTC 2005
Author: lethal
Date: 2005-03-31 12:18:54 -0700 (Thu, 31 Mar 2005)
New Revision: 10065
Log:
Add some more SH relocation types.
Modified:
trunk/uClibc/include/elf.h
Changeset:
Modified: trunk/uClibc/include/elf.h
===================================================================
--- trunk/uClibc/include/elf.h 2005-03-31 18:15:42 UTC (rev 10064)
+++ trunk/uClibc/include/elf.h 2005-03-31 19:18:54 UTC (rev 10065)
@@ -2311,6 +2311,12 @@
/* SH specific declarations */
+/* SH specific values for `st_other'. */
+
+/* If set, this is a symbol pointing to SHmedia code, which will be branched
+ to, so need to add 1 to the symbol value. */
+#define STO_SH5_ISA32 (1 << 2)
+
/* SH relocs. */
#define R_SH_NONE 0
#define R_SH_DIR32 1
@@ -2349,6 +2355,13 @@
#define R_SH_RELATIVE 165
#define R_SH_GOTOFF 166
#define R_SH_GOTPC 167
+#define R_SH_RELATIVE_LOW16 197
+#define R_SH_RELATIVE_MEDLOW16 198
+#define R_SH_IMM_LOW16 246
+#define R_SH_IMM_LOW16_PCREL 247
+#define R_SH_IMM_MEDLOW16 248
+#define R_SH_IMM_MEDLOW16_PCREL 249
+
/* Keep this the last entry. */
#define R_SH_NUM 256
More information about the uClibc-cvs
mailing list