From: George Koehler Date: Fri, 30 Sep 2016 17:40:36 +0000 (-0400) Subject: Remove .linenumber and .filename; use hol0 and hol0+4. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ce5faba91953f5d4340199b2246bef68b620a6e7;p=ack.git Remove .linenumber and .filename; use hol0 and hol0+4. We need this because some .e files in lang/ are using 'loe 0' and 'lae 4' to load the line number from hol0 and filename from hol0+4. --- diff --git a/mach/powerpc/ncg/table b/mach/powerpc/ncg/table index 1cb51c2d5..6d2fc40b7 100644 --- a/mach/powerpc/ncg/table +++ b/mach/powerpc/ncg/table @@ -1893,16 +1893,16 @@ PATTERNS pat fil /* Set current filename */ leaving lae $1 - ste ".filename" + ste "hol0+4" pat lin /* Set current line number */ leaving loc $1 - ste ".linenumber" + ste "hol0" pat lni /* Increment line number */ leaving - ine ".linenumber" + ine "hol0" pat lim /* Load EM trap ignore mask */ leaving diff --git a/plat/linuxppc/boot.s b/plat/linuxppc/boot.s index b188b0404..2da5dd556 100644 --- a/plat/linuxppc/boot.s +++ b/plat/linuxppc/boot.s @@ -57,7 +57,3 @@ begtext: .define .trppc, .ignmask .comm .trppc, 4 ! ptr to user trap handler .comm .ignmask, 4 ! user trap ignore mask - -.define .linenumber, .filename -.comm .linenumber, 4 ! current linenumber (used for debugging) -.comm .filename, 4 ! ptr to current filename (used for debugging)