Formerly unix/bsd/hp/m68k/__brk.S.~4~

This commit is contained in:
Roland McGrath 1992-03-11 02:28:38 +00:00
parent 030ac448d8
commit 7ea0dcaf37

View File

@ -22,7 +22,7 @@ Cambridge, MA 02139, USA. */
#define SYS_brk 17 #define SYS_brk 17
#endif #endif
#ifndef __GNU_STAB__ #ifndef HAVE_GNU_LD
#define __end _end #define __end _end
#endif #endif
@ -33,7 +33,7 @@ ___curbrk:
.text .text
ENTRY (__brk) ENTRY (__brk)
movel __end, d0 movel POUND(__end), d0
cmpl sp@(4), d0 cmpl sp@(4), d0
ble 0f ble 0f
movel d0, sp@(4) movel d0, sp@(4)