diff options
author | 2007-11-04 18:54:03 +0000 | |
---|---|---|
committer | 2007-11-04 18:54:03 +0000 | |
commit | 401ff6bd9fda725043d1b059363fdd58dab54ccc (patch) | |
tree | bd96e43fede1e3ce832bbbacd76bb85a28fc3737 | |
parent | iUpdate from master repo: (diff) | |
download | wireguard-openbsd-401ff6bd9fda725043d1b059363fdd58dab54ccc.tar.xz wireguard-openbsd-401ff6bd9fda725043d1b059363fdd58dab54ccc.zip |
Update from master repo:
> Print string identifier in case OREG has a relocatable offset.
-rw-r--r-- | usr.bin/pcc/i386/local2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/pcc/i386/local2.c b/usr.bin/pcc/i386/local2.c index 17d756ce90d..f748fd55a5f 100644 --- a/usr.bin/pcc/i386/local2.c +++ b/usr.bin/pcc/i386/local2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: local2.c,v 1.2 2007/10/27 14:14:14 ragge Exp $ */ +/* $OpenBSD: local2.c,v 1.3 2007/11/04 18:54:03 ragge Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -709,6 +709,8 @@ adrput(FILE *io, NODE *p) case OREG: r = p->n_rval; + if (p->n_name[0]) + printf("%s%s", p->n_name, p->n_lval ? "+" : ""); if (p->n_lval) fprintf(io, "%d", (int)p->n_lval); if (R2TEST(r)) { |