Added .align 2. Prevents end of bss to be odd.
Especially important for malloc, it distinguishes between odd and even word pointers.
This commit is contained in:
16
mach/i86/libem/tail.s
Normal file
16
mach/i86/libem/tail.s
Normal file
@@ -0,0 +1,16 @@
|
||||
.define endtext,enddata,endbss
|
||||
.define _end,_etext,_edata
|
||||
|
||||
! $Header$
|
||||
.text
|
||||
.align 2
|
||||
endtext:
|
||||
_etext:
|
||||
.data
|
||||
.align 2
|
||||
enddata:
|
||||
_edata:
|
||||
.bss
|
||||
.align 2
|
||||
_end:
|
||||
endbss:
|
||||
Reference in New Issue
Block a user