Incorrect warning for AVX512 gathers

2016-02-18 Thread Steve Vormwald
On the current tip of binutils-2_26-branch, gas is emitting an incorrect warning 'Warning: index and destination registers should be distinct' when the two zmm registers are separated by 16. For exmaple, zmm19 and zmm3 in 'vgatherqpd (%rax,%zmm19,8), %zmm3 {%k1}'. This warning was added

Invalid R_X86_64_GOTPCREL - R_X86_64_PC32 conversions with binutils 2.24/2.25?

2015-06-24 Thread Steve Vormwald
When updating from binutils 2.23 to 2.25, we have run into truncated to fit: R_X86_64_PC32 against symbol errors for symbols that only have R_X86_64_GOTPCREL relocations. One of the object files that is being linked contains a handful of large arrays that end up being placed more than 2GB away