fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-selective / 2.c
blob729588760c3d96e37b3ebb38c5c029b6017e4393
1 /* Normally we should loose foo and keep _start and _init.
2 With -u foo, we should keep that as well. */
4 void _start() __asm__("_start");
5 void _start()
9 void __attribute__((section(".init")))
10 _init()
14 int foo() __asm__("foo");
15 int foo()
17 static int x = 1;
18 return x++;