summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libld-reg.patch
blob: b74678219896ea608d91af48620ea06481b44beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: b/usr/src/cmd/sgs/libld/common/machrel.sparc.c
===================================================================
--- a/usr/src/cmd/sgs/libld/common/machrel.sparc.c
+++ b/usr/src/cmd/sgs/libld/common/machrel.sparc.c
@@ -829,6 +829,7 @@ ld_perform_outreloc(Rel_desc *orsp, Ofl_
 #define	FM3_REG_MSK_RS2	0x1f		/* Formate (3) rs2 register mask */
 					/*	bits 0->4 */
 
+#undef REG_G7
 #define	REG_G7		7		/* %g7 register */
 
 static Fixupret