From: Mike Frysinger Date: Sun, 29 Mar 2015 07:36:13 +0000 (-0400) Subject: sim: avr: fix _start testsuite symbol X-Git-Tag: users/hjl/linux/release/2.25.51.0.2~2^2~19^2~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f5cce88bf504a2f0010f7ad384003984da6ce00;p=thirdparty%2Fbinutils-gdb.git sim: avr: fix _start testsuite symbol Make sure we use the symbol the linker expects by default, and we export it so it can be found. --- diff --git a/sim/testsuite/sim/avr/ChangeLog b/sim/testsuite/sim/avr/ChangeLog index a5e9c9c0c64..8c1bde26b98 100644 --- a/sim/testsuite/sim/avr/ChangeLog +++ b/sim/testsuite/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2015-03-29 Mike Frysinger + + * testutils.inc (start): Change to _start and add global markings. + 2015-03-28 Mike Frysinger * pass.s, allinsn.exp, testutils.inc: New files. diff --git a/sim/testsuite/sim/avr/testutils.inc b/sim/testsuite/sim/avr/testutils.inc index 95a14fc83a3..baad45dc0bc 100644 --- a/sim/testsuite/sim/avr/testutils.inc +++ b/sim/testsuite/sim/avr/testutils.inc @@ -37,5 +37,6 @@ # All assembler tests should start with a call to "start" .macro start .text -__start: +.global _start +_start: .endm