diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 2 | ||||
-rw-r--r-- | elf/ifuncmain5.c | 2 | ||||
-rw-r--r-- | elf/ifuncmod5.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/elf/Makefile b/elf/Makefile index 80591178e0..56935d5a1a 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1068,7 +1068,7 @@ $(objpfx)ifuncmain7pie.out: $(objpfx)ifuncmain7pie --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \ $< > $@ -$(objpfx)ifuncmain7pie: $(objpfx)ifuncmain7pie.o +$(objpfx)ifuncmain7pie: $(objpfx)ifuncmain7pie.o $(+link-pie) generated += ifuncmain7pie ifuncmain7pie.out diff --git a/elf/ifuncmain5.c b/elf/ifuncmain5.c index 819a443904..7f128d006e 100644 --- a/elf/ifuncmain5.c +++ b/elf/ifuncmain5.c @@ -27,7 +27,7 @@ int main (void) { foo_p p; - + p = get_foo (); if ((*p) () != -1) abort (); diff --git a/elf/ifuncmod5.c b/elf/ifuncmod5.c index 48388967b5..2ca1c71541 100644 --- a/elf/ifuncmod5.c +++ b/elf/ifuncmod5.c @@ -15,7 +15,7 @@ minus_one (void) } static int -zero (void) +zero (void) { return 0; } @@ -23,7 +23,7 @@ zero (void) void * foo_ifunc (void) __asm__ ("foo"); __asm__(".type foo, %gnu_indirect_function"); -void * +void * foo_ifunc (void) { switch (global) @@ -40,7 +40,7 @@ foo_ifunc (void) void * foo_hidden_ifunc (void) __asm__ ("foo_hidden"); __asm__(".type foo_hidden, %gnu_indirect_function"); -void * +void * foo_hidden_ifunc (void) { switch (global) @@ -57,7 +57,7 @@ foo_hidden_ifunc (void) void * foo_protected_ifunc (void) __asm__ ("foo_protected"); __asm__(".type foo_protected, %gnu_indirect_function"); -void * +void * foo_protected_ifunc (void) { switch (global) |