Project

General

Profile

Bug #8609

want a position independent CRT

Added by Rich Lowe about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2017-09-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

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.

History

#1

Updated by Rich Lowe about 3 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)

#2

Updated by Electric Monk about 3 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>

Also available in: Atom PDF