summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2020-06-24Remove usage of bash '&>' redirectionNeil Roza
On systems where /bin/sh is dash, this would lead to empty *.expected and *.results files and thus make check would always succeed. Closes: #1
2020-03-24Always build with -fPICMatt Turner
The dladdr(3) explains that dladdr often doesn't do what you expect because the function pointer will point to the PLT entry in the original object and not the actual function itself.
2019-04-25Add a program using dlopenMatt Turner
2019-04-25Add a check target to the MakefileMatt Turner
2017-11-24Add build_id_find_nhdr_by_symbol()Matt Turner
2016-12-14Use dl_iterate_phdr() instead of a linker script.Matt Turner
According to Mike Frysinger [1] it is not reliable to read ELF sections at runtime, which the previous method involving the linker script was doing. Instead, use dl_iterate_phdr() to find the build id. [1] https://sourceware.org/ml/binutils/2016-12/msg00207.html
2016-12-08Initial commitMatt Turner