From 53943a2e87124d840c3537b138423380ef980f0f Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Sun, 10 Jun 2012 18:28:16 +0000
Subject: [PATCH] 	* include/sys/elf_common.h (R_386_16): Define. 
 (R_386_PC16): Define. 	(R_386_8): Define. 	(R_386_PC8): Define.

---
 winsup/cygwin/ChangeLog                | 7 +++++++
 winsup/cygwin/include/sys/elf_common.h | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0923a1c9c..d5a226f0b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-10  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
+
+	* include/sys/elf_common.h (R_386_16): Define.
+	(R_386_PC16): Define.
+	(R_386_8): Define.
+	(R_386_PC8): Define.
+
 2012-06-09  Christopher Faylor  <me.cygwin2012@cgf.cx>
 
 	* select.cc (cygwin_select): Remove select_timeout test.
diff --git a/winsup/cygwin/include/sys/elf_common.h b/winsup/cygwin/include/sys/elf_common.h
index f98eda8c2..4b1025613 100644
--- a/winsup/cygwin/include/sys/elf_common.h
+++ b/winsup/cygwin/include/sys/elf_common.h
@@ -603,6 +603,10 @@ typedef struct {
 #define	R_386_TLS_LE		17	/* Negative offset relative to static TLS */
 #define	R_386_TLS_GD		18	/* 32 bit offset to GOT (index,off) pair */
 #define	R_386_TLS_LDM		19	/* 32 bit offset to GOT (index,zero) pair */
+#define	R_386_16		20
+#define	R_386_PC16		21
+#define	R_386_8			22
+#define	R_386_PC8		23
 #define	R_386_TLS_GD_32		24	/* 32 bit offset to GOT (index,off) pair */
 #define	R_386_TLS_GD_PUSH	25	/* pushl instruction for Sun ABI GD sequence */
 #define	R_386_TLS_GD_CALL	26	/* call instruction for Sun ABI GD sequence */