crt: Need a position-independent CRT for PIE

Review Request #285 - Created Dec. 6, 2016 and updated

Information
Rich Lowe
illumos-gate
477e605...
Reviewers
general
- Implement the greatest possible part of the crt1 in C
- Implement SPARC versions of the ASM sections of crt1
- Build crt1 position-independently, minor ASM updates to be position
  independent
- Implement crt1 with the hook expected by modern GCC to support
  profiling, make gcrt1 a symlink for source compatibility (older GCC
  initializes profiling at firsnt use of _mcount if necessary, so
  doesn't need the gcrt)
- Split the CRT out of developer/library/lint into a separate c-runtime package

This is the initial step of a PIE implementation. I have tested this with the rest of that implementation and (less thoroughly) stand-alone.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Rich Lowe
Marcel Telka
Robert Mustacchi
Rich Lowe
Review request changed

Change Summary:

Robert and most of Marcel's comments

Commit:

-6ff0a380157aa5b8bc716d4a354b80a00c39cae0
+477e6059f1e5585d8be246a509405131230ae7fb

Diff:

Revision 2 (+524 -1328)

Show changes

Robert Mustacchi

Thanks Rich, this looks good.

Ken Mays
Ship It!
Loading...