ARC: opencode ENTRY/END macros in crt1
commit7bf35c8b7d4a1f97174eb49f47f33946b282114c
authorVineet Gupta <vgupta@synopsys.com>
Tue, 24 Dec 2013 13:25:17 +0000 (24 18:55 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 8 Jan 2014 11:34:36 +0000 (8 12:34 +0100)
tree36ad636dcf8eb2968245a25e33599e9f48357b9f
parent3580da1fe73e6b49a3810c766be0ecf06d2e038b
ARC: opencode ENTRY/END macros in crt1

crt1.S -> include sysdep.h -> include sysnum.h

In multistage gcc build, Buildroot happens to build crt1.S before
sysnum.h is generated. So break the above include chain and opencode the
ENTRY/END macros.

Reported-by: Anton Kolesov <akolesov@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/arc/crt1.S