Print this page
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:

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/common/amd64/crti.s
          +++ new/usr/src/lib/crt/amd64/crti.s
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46          pushq   %rbp
  47   47          movq    %rsp, %rbp
  48   48  
  49   49  /*
  50   50   * _fini function prologue
  51   51   */
  52   52          .section        .fini,"ax"
  53   53          .globl  _fini
  54   54          .type   _fini,@function
  55   55          .align  16
  56      -_fini:  
       56 +_fini:
  57   57          pushq   %rbp
  58   58          movq    %rsp, %rbp
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX