Pie, Relro and stack protector support

Second attempt