Ticket #30268: patch-no-pie.diff

File patch-no-pie.diff, 570 bytes (added by carsomyr@…, 13 years ago)

The patch for disabling PIE during link time.

  • src/s/darwin.h

    old new  
    181181   end of the header for adding load commands.  Needed for dumping.
    182182   0x690 is the total size of 30 segment load commands (at 56
    183183   each); under Cocoa 31 commands are required.  */
    184 #define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_NSGUI -Xlinker -headerpad -Xlinker HEADERPAD_EXTRA
     184#define LD_SWITCH_SYSTEM_TEMACS -fno-pie -prebind LIBS_NSGUI -Xlinker -headerpad -Xlinker HEADERPAD_EXTRA
    185185
    186186#define C_SWITCH_SYSTEM_TEMACS -Dtemacs
    187187