Commit 0b88587d authored by Lucio De Re's avatar Lucio De Re Committed by Dave Cheney

cmd/[568]l/obj.c: NULL is not recognised in Plan 9 build, use nil instead.

Fixes #5591.

R=golang-dev, dave, minux.ma, cshapiro
CC=carl shapiro <cshapiro, golang-dev
https://golang.org/cl/9839046
parent 77d4347b
......@@ -647,7 +647,7 @@ loop:
case APTRS:
if(skip)
goto casedef;
if(cursym->nptrs == -1 || cursym->ptrs == NULL) {
if(cursym->nptrs == -1 || cursym->ptrs == nil) {
diag("ldobj1: pointer map data provided for %s without a definition", cursym->name);
errorexit();
}
......
......@@ -636,7 +636,7 @@ loop:
case APTRS:
if(skip)
goto casdef;
if(cursym->nptrs == -1 || cursym->ptrs == NULL) {
if(cursym->nptrs == -1 || cursym->ptrs == nil) {
diag("ldobj1: pointer map data provided for %s without a definition", cursym->name);
errorexit();
}
......
......@@ -646,7 +646,7 @@ loop:
case APTRS:
if(skip)
goto casdef;
if(cursym->nptrs == -1 || cursym->ptrs == NULL) {
if(cursym->nptrs == -1 || cursym->ptrs == nil) {
diag("ldobj1: pointer map data provided for %s without a definition", cursym->name);
errorexit();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment