mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8e3152af14
Fixes a couple of ERROR results due to .set difference on alpha. * testsuite/ld-elf/shared.exp: Don't build pr19073 test on alpha. * testsuite/ld-elf/pr18720b.c: Don't use .set on alpha.
21 lines
372 B
C
21 lines
372 B
C
#include <stdio.h>
|
|
|
|
void
|
|
foo (void)
|
|
{
|
|
printf ("MAIN\n");
|
|
}
|
|
|
|
asm (".symver foo,foo@FOO");
|
|
#ifdef __alpha__
|
|
asm ("foo_alias = foo");
|
|
#else
|
|
asm (".set foo_alias,foo");
|
|
#endif
|
|
asm (".global foo_alias");
|
|
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
|
|
asm (".symver .foo,.foo@FOO");
|
|
asm (".set .foo_alias,.foo");
|
|
asm (".global .foo_alias");
|
|
#endif
|