summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20040323-1.c
blob: 77ddadc9dcdf070e96fd17287eabc21a8e396f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR middle-end/14694 */
/* { dg-require-alias "" } */

unsigned int _rtld_global = 1;
extern unsigned int _rtld_local __attribute__ ((alias ("_rtld_global")));

unsigned int
_dl_start (void *arg)
{
  unsigned int elf_machine_rel () { return _rtld_local; }
  return elf_machine_rel ();
}