c413941892
* ld-plugin/func1p.c: New file. * ld-plugin/func2i.c: Likewise. * ld-plugin/func3h.c: Likewise. * ld-plugin/plugin.exp (plugin_extra_elf_tests): Add plugin visibility test.
8 lines
101 B
C
8 lines
101 B
C
extern int retval;
|
|
|
|
int
|
|
__attribute__ ((visibility ("protected")))
|
|
func1 (void)
|
|
{
|
|
return retval;
|
|
}
|