Use __asm__ rather than asm in ld testsuite
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / pr14323-2.c
1 int foo __attribute__ ((section ("_data_foo"))) = 0;
2 extern int foo_alias __attribute__ ((weak, alias ("foo")));
3 extern char __start__data_foo;
4 __asm__ (".type __start__data_foo,%object");
5 int x1 = 1;
6 int x2 = 2;
7
8 char *
9 bar ()
10 {
11 foo = -1;
12 return &__start__data_foo;
13 }
This page took 0.032263 seconds and 4 git commands to generate.