[PATCH] i386: Add _startup_sbrk and _startup_fatal [BZ #21913]

H.J. Lu hjl.tools@gmail.com
Mon Aug 7 20:21:00 GMT 2017


On Mon, Aug 7, 2017 at 10:39 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Aug 7, 2017 at 10:37 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> On Aug 07 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>>
>>> Given this, we need a working sbrk before TLS is initialized.
>>
>> How about making sbrk always use int $0x80?
>>
>> Andreas.
>
> We can do that in sbrk.o and will make change less complex.
> I will give it a try.
>

Here is a patch to add <startup.h>.  Tested on i686.  OK for master?


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i386-Add-startup.h-BZ-21913.patch
Type: text/x-patch
Size: 6776 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170807/4f0524ca/attachment.bin>


More information about the Libc-alpha mailing list