summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr26094-1a.c
blob: 7a802159c445022de90203f54db5a3465538cc78 (plain)
1
2
3
4
5
6
7
char foo_data  __attribute__(( section("FOO") )) = { 0 };

extern void * __start_FOO;

void * foo() {
    return  __start_FOO;
}