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.
This commit is contained in:
parent
e22c8881e7
commit
b427d33f9f
|
@ -42,6 +42,13 @@ begtext:
|
||||||
|
|
||||||
b __m_a_i_n
|
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.
|
! Some magic data. All EM systems need these.
|
||||||
|
|
||||||
.define _errno
|
.define _errno
|
||||||
|
|
Loading…
Reference in a new issue