Actions
Bug #8609
closedwant a position independent CRT
Start date:
2017-09-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
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.
Related issues
Updated by Rich Lowe almost 6 years ago
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)
Updated by Electric Monk almost 6 years ago
- 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>
Updated by Andy Fiddaman almost 3 years ago
- Related to Bug #13341: crt1.o _start_crt_compiler hook not what gcc expects added
Actions