From owner-cvs-gnu Fri Jan 9 21:39:27 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA22534 for cvs-gnu-outgoing; Fri, 9 Jan 1998 21:39:27 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA22459; Fri, 9 Jan 1998 21:37:02 -0800 (PST) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA04652; Fri, 9 Jan 1998 21:36:37 -0800 (PST) Date: Fri, 9 Jan 1998 21:36:37 -0800 (PST) Message-Id: <199801100536.VAA04652@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/as read.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/01/09 21:36:37 PST Modified files: gnu/usr.bin/as read.c Log: Make the ".set" directive copy the aux field when the expression reduces to a relocatable symbol plus an offset. This preserves the symbol type information (function vs. object). It is important for SVR4-style weak symbols, e.g., "#pragma weak foo=bar". Without this change, the linker complains that the jmpslot entry is not a function. Revision Changes Path 1.12 +2 -1 src/gnu/usr.bin/as/read.c