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