https://sourceware.org/bugzilla/show_bug.cgi?id=16548
--- Comment #1 from Yury Gribov <y.gribov at samsung dot com> --- Created attachment 7401 --> https://sourceware.org/bugzilla/attachment.cgi?id=7401&action=edit Proposed patch I suggest to add an option --long-plt to allow generation of 4-word wide .plt entries capable of handling arbitrary .plt/.got displacements: 0000825c <.plt>: ... 8270: e28fc200 add ip, pc, #0, 4 8274: e28cc600 add ip, ip, #0, 12 8278: e28cca08 add ip, ip, #8, 20 ; 0x8000 827c: e5bcf3f4 ldr pc, [ip, #1012]! ; 0x3f4 8280: e28fc200 add ip, pc, #0, 4 8284: e28cc600 add ip, ip, #0, 12 8288: e28cca08 add ip, ip, #8, 20 ; 0x8000 828c: e5bcf3e8 ldr pc, [ip, #1000]! ; 0x3e8 Users will than be able to avoid afore-mentioned link error by compiling with -Wl,--long-plt. I'm attaching a draft patch to illustrate my proposal. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils