1 /* { dg-do run { target ia64-*-linux* } } */
2 /* { dg-options "-O2" } */
4 /* Test function descriptor access. */
6 extern unsigned long *_GLOBAL_OFFSET_TABLE_
;
7 extern void abort(void);
21 check (unsigned long gp
)
23 return gp
!= (unsigned long) &_GLOBAL_OFFSET_TABLE_
;
27 main (int argc
, char **argv
)
32 for (i
= 0; i
< 1; i
++)
33 res
+= check (((struct ia64_fdesc
*) os_boot_rendez
)->gp
);