FreeBSD Bugzilla – Attachment 216152 Details for
Bug 247724
ld-elf.so.1: Unsupported relocation type 42 in non-PLT relocations [clang, llvm-devel-11.0.d20200519]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
C source test case
ifunc.c (text/plain), 335 bytes, created by
Nick Briggs
on 2020-07-02 19:53:03 UTC
(
hide
)
Description:
C source test case
Filename:
MIME Type:
Creator:
Nick Briggs
Created:
2020-07-02 19:53:03 UTC
Size:
335 bytes
patch
obsolete
>/* This test made valgrind run in an infinite loop. See bugzilla #301204 */ >#include <stdio.h> > >static void mytest(int d) >{ > printf("%d\n", d); >} > >static void (*resolve_test(void))(void) >{ > return (void (*)(void))&mytest; >} > >void test(int d) > __attribute__((ifunc("resolve_test"))); > >int main() >{ > test(5); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 247724
: 216152 |
216174