summaryrefslogtreecommitdiff
path: root/arch/powerpc/reloc.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-26fix powerpc build breakage from dynamic linker path search changesRich Felker1-1/+1
2013-07-18make the dynamic linker find its path file relative to its own locationRich Felker1-1/+1
prior to this change, using a non-default syslibdir was impractical on systems where the ordinary library paths contain musl-incompatible library files. the file containing search paths was always taken from /etc, which would either correspond to a system-wide musl installation, or fail to exist at all, resulting in searching of the default library path. the new search strategy is safe even for suid programs because the pathname used comes from the PT_INTERP header of the program being run, rather than any external input. as part of this change, I have also begun differentiating the names of arch variants that differ by endianness or floating point calling convention. the corresponding changes in the build system and and gcc wrapper script (to use an alternate dynamic linker name) for these configurations have not yet been made.
2012-11-16dynamic linking support for powerpcRich Felker1-8/+27
incomplete but at least partly working. requires all files to be compiled in the new "secure" plt model, not the old one that put plt code in the data segment. TLS is untested but may work. invoking the dynamic linker explicitly to load a program does not yet handle argv correctly.
2012-11-13PPC port cleaned up, static linking works well now.rofl0r1-0/+36