summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1993-12-01 15:13:42 +0000
committerache <ache@FreeBSD.org>1993-12-01 15:13:42 +0000
commit547828e8508b5af2f88d62694036bb15c1a7086e (patch)
tree3b9fe0b4fab5a8b26d2091079021464530c0c08e /gnu/usr.bin/ld
parent66add984dc368d780b1187f2890b933e174ad6f7 (diff)
downloadFreeBSD-src-547828e8508b5af2f88d62694036bb15c1a7086e.zip
FreeBSD-src-547828e8508b5af2f88d62694036bb15c1a7086e.tar.gz
Add DEBUG #ifdef, (second time!)
!!! Please, anybody who update ld to NetBSD current, !!! look at old cvs logs!
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r--gnu/usr.bin/ld/rrs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/rrs.c b/gnu/usr.bin/ld/rrs.c
index 6a3bf08..8ab992d 100644
--- a/gnu/usr.bin/ld/rrs.c
+++ b/gnu/usr.bin/ld/rrs.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: rrs.c,v 1.4 1993/11/22 19:04:44 jkh Exp $
+ * $Id: rrs.c,v 1.5 1993/11/30 20:47:29 jkh Exp $
*/
#include <sys/param.h>
@@ -319,8 +319,10 @@ long *relocation;
struct relocation_info *r = rrs_next_reloc();
if (rp->r_address < text_start + text_size)
+#ifdef DEBUG
error("%s: RRS text relocation at %#x for \"%s\"",
get_file_name(entry), rp->r_address, sp->name);
+#endif
#ifdef DEBUG
printf("claim_rrs_reloc: %s in %s\n", sp->name, get_file_name(entry));
OpenPOWER on IntegriCloud