diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1993-12-01 15:13:42 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1993-12-01 15:13:42 +0000 |
commit | 50b517092a8c9f51a6e77ebce641fcab7524acec (patch) | |
tree | 3b9fe0b4fab5a8b26d2091079021464530c0c08e /gnu | |
parent | 730a80c44ca6a1a1c1bdbbd90456ce9d000e450a (diff) |
Add DEBUG #ifdef, (second time!)
!!! Please, anybody who update ld to NetBSD current,
!!! look at old cvs logs!
Notes
Notes:
svn path=/head/; revision=816
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/ld/rrs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/rrs.c b/gnu/usr.bin/ld/rrs.c index 6a3bf0810a82..8ab992d67a82 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)); |