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
This commit is contained in:
Lucio De Re 2013-05-30 15:02:10 +10:00 committed by Dave Cheney
parent 77d4347bf2
commit 0b88587d22
3 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}