https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118715

--- Comment #4 from Benjamin Harris <opensource at benjaminrh dot com> ---
Thanks for your response! I apologize, I didn't notice the `--with-bugurl`
until you pointed it out.

(In reply to Andrew Pinski from comment #3)
> 00000124 <foo@plt>:
>  124:   0000            movs    r0, r0
>  126:   0000            movs    r0, r0
>  128:   f241 0c88       movw    ip, #4232       @ 0x1088
>  12c:   f2c0 0c00       movt    ip, #0
>  130:   44fc            add     ip, pc
>  132:   Address 0x132 is out of bounds.
...
> Looks like it is generating a sibcall which might be invalid.

I think the sibcall is fine actually, I don't see a problem with what GCC
produces there. The issue is in `foo@plt`, and the relevant line is missing
from your disassembly, `132: Address 0x132 is out of bounds.`

Reply via email to