aboutsummaryrefslogtreecommitdiff
path: root/src/liblink
diff options
context:
space:
mode:
authorJeff Sickel <jas@corpus-callosum.com>2014-01-22 06:23:19 +0100
committerDavid du Colombier <0intro@gmail.com>2014-01-22 06:23:19 +0100
commitf69391dd9e33132f5082636ffcfd847d7ac07b53 (patch)
tree979ce28ccc115a34881f782de391059a8c6b6e2f /src/liblink
parent20137eb4b9cdb2d71264e502333b1353f29a7e35 (diff)
downloadgo-f69391dd9e33132f5082636ffcfd847d7ac07b53.tar.xz
liblink: include missing pragmas for plan9 formatter
R=rsc, r, 0intro CC=golang-codereviews https://golang.org/cl/36060047
Diffstat (limited to 'src/liblink')
-rw-r--r--src/liblink/list5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/liblink/list5.c b/src/liblink/list5.c
index ec954f6461..69650e5ff3 100644
--- a/src/liblink/list5.c
+++ b/src/liblink/list5.c
@@ -43,7 +43,7 @@ static int Aconv(Fmt *fp);
static int Dconv(Fmt *fp);
static int Mconv(Fmt *fp);
static int Pconv(Fmt *fp);
-static int Rconv(Fmt *fp);
+static int RAconv(Fmt *fp);
static int DSconv(Fmt *fp);
void
@@ -54,7 +54,7 @@ listinit5(void)
fmtinstall('$', DSconv);
fmtinstall('M', Mconv);
fmtinstall('D', Dconv);
- fmtinstall('R', Rconv);
+ fmtinstall('@', RAconv);
}
static char *extra [] = {
@@ -85,10 +85,10 @@ Pconv(Fmt *fp)
strcat(sc, ".U");
if(a == AMOVM) {
if(p->from.type == D_CONST)
- sprint(str, " %A%s %R,%D", a, sc, &p->from, &p->to);
+ sprint(str, " %A%s %@,%D", a, sc, &p->from, &p->to);
else
if(p->to.type == D_CONST)
- sprint(str, " %A%s %D,%R", a, sc, &p->from, &p->to);
+ sprint(str, " %A%s %D,%@", a, sc, &p->from, &p->to);
else
sprint(str, " %A%s %D,%D", a, sc, &p->from, &p->to);
} else
@@ -210,7 +210,7 @@ Dconv(Fmt *fp)
}
static int
-Rconv(Fmt *fp)
+RAconv(Fmt *fp)
{
char str[STRINGSZ];
Addr *a;