From: George Koehler Date: Fri, 30 Sep 2016 17:21:42 +0000 (-0400) Subject: Define the begdata, begrom, begbss symbols for linuxppc. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b427d33f9f093f4e2b342b6025b94a360a76e2d0;p=ack.git Define the begdata, begrom, begbss symbols for linuxppc. I copied the definitions from linux386 and linux68k. This change also moves _errno and the other common symbols in boot.s from .text to .bss. Common symbols belong in .bss, but the assembler seems dumb enough to put them in any section. --- diff --git a/plat/linuxppc/boot.s b/plat/linuxppc/boot.s index 66cb38306..b188b0404 100644 --- a/plat/linuxppc/boot.s +++ b/plat/linuxppc/boot.s @@ -41,7 +41,14 @@ begtext: stwu r3, -4(sp) b __m_a_i_n - + +! Define symbols at the beginning of our various segments, so that we can find +! them. (Except .text, which has already been done.) + +.sect .data; begdata: +.sect .rom; begrom: +.sect .bss; begbss: + ! Some magic data. All EM systems need these. .define _errno