[PATCH 3.18 16/25] x86: Treat R_X86_64_PLT32 as R_X86_64_PC32

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: H.J. Lu commit b21ebf2fb4cde1618915a97cc773e287ff49173e upstream. On i386, there are 2 types of PLTs, PIC and non-PIC. PIE and shared objects must use PIC PLT. To use

[PATCH 3.18 16/25] x86: Treat R_X86_64_PLT32 as R_X86_64_PC32

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: H.J. Lu commit b21ebf2fb4cde1618915a97cc773e287ff49173e upstream. On i386, there are 2 types of PLTs, PIC and non-PIC. PIE and shared objects must use PIC PLT. To use PIC PLT, you need to