diff options
author | marcus <marcus@FreeBSD.org> | 2003-10-17 09:27:16 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-10-17 09:27:16 +0800 |
commit | 641a94bb8a568528bd15efd2057be065f1b990d8 (patch) | |
tree | db9f0a5fecaa93d83746bd9f68f11b4d23975805 /devel | |
parent | d0c5513935da827f79591dd0ab3bc554f2889bbf (diff) | |
download | freebsd-ports-gnome-641a94bb8a568528bd15efd2057be065f1b990d8.tar.gz freebsd-ports-gnome-641a94bb8a568528bd15efd2057be065f1b990d8.tar.zst freebsd-ports-gnome-641a94bb8a568528bd15efd2057be065f1b990d8.zip |
Always include x86 bits even on non-x86 platforms. This fixes builds on
non-x86 platforms.
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/elfsh/files/patch-libelfsh::include::libelfsh.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/elfsh/files/patch-libelfsh::include::libelfsh.h b/devel/elfsh/files/patch-libelfsh::include::libelfsh.h new file mode 100644 index 000000000000..e0572dc9d740 --- /dev/null +++ b/devel/elfsh/files/patch-libelfsh::include::libelfsh.h @@ -0,0 +1,20 @@ +--- libelfsh/include/libelfsh.h Thu Aug 21 04:11:03 2003 ++++ libelfsh/include/libelfsh.h.patch Fri Oct 10 14:33:43 2003 +@@ -713,5 +713,17 @@ + int elfsh_sync_sorted_symtab(elfshsect_t *sect); + int elfsh_sort_symtab(Elf32_Sym *symtab, int size, int type); + ++#define R_386_NONE 0 /* No reloc */ ++#define R_386_32 1 /* Direct 32 bit */ ++#define R_386_PC32 2 /* PC relative 32 bit */ ++#define R_386_GOT32 3 /* 32 bit GOT entry */ ++#define R_386_PLT32 4 /* 32 bit PLT address */ ++#define R_386_COPY 5 /* Copy symbol at runtime */ ++#define R_386_GLOB_DAT 6 /* Create GOT entry */ ++#define R_386_JMP_SLOT 7 /* Create PLT entry */ ++#define R_386_RELATIVE 8 /* Adjust by program base */ ++#define R_386_GOTOFF 9 /* 32 bit offset to GOT */ ++#define R_386_GOTPC 10 /* 32 bit PC relative offset to GOT */ ++ + + #endif /* __LIBELFSH_H_ */ |