Bug #8609
closed
want a position independent CRT
Added by Rich Lowe almost 5 years ago.
Updated almost 5 years ago.
Description
PIE will require that the CRT objects be position independent. We may as well make them always that way.
This is also a nice opportunity to implement most of the boring parts of the CRT in C, and to add a SPARC CRT, rather than relying on that from the compiler.
This also moves the CRT to usr/src/lib/crt, and implements the hooks that GCC appears to expect of a SunOS-derived system with support for PIE (though with no other PIE support, this won't be used)
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 3e76f9d6851ef6c63217178eb67278ec2809b944
commit 3e76f9d6851ef6c63217178eb67278ec2809b944
Author: Richard Lowe <richlowe@richlowe.net>
Date: 2017-10-02T19:55:19.000Z
8609 want a position independent CRT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Albert Lee <trisk@forkgnu.org>
Approved by: Dan McDonald <danmcd@joyent.com>
- Related to Bug #13341: crt1.o _start_crt_compiler hook not what gcc expects added
Also available in: Atom
PDF