Re: [i386] Fix couple of issues in large PIC model on x86-64/VxWorks

2021-11-08 Thread Olivier Hainque via Gcc-patches
> On 8 Nov 2021, at 09:27, Eric Botcazou wrote: > >> LGTM for the generic part, no idea for VxWorks. > > Thanks. The VxWorks-specific hunk is needed to make GCC compatible with the > system compiler on this architecture (LLVM) and I have CCed Olivier. Good for me, thanks Eric!

Re: [i386] Fix couple of issues in large PIC model on x86-64/VxWorks

2021-11-08 Thread Eric Botcazou via Gcc-patches
> LGTM for the generic part, no idea for VxWorks. Thanks. The VxWorks-specific hunk is needed to make GCC compatible with the system compiler on this architecture (LLVM) and I have CCed Olivier. -- Eric Botcazou

Re: [i386] Fix couple of issues in large PIC model on x86-64/VxWorks

2021-11-08 Thread Uros Bizjak via Gcc-patches
On Tue, Oct 5, 2021 at 5:50 PM Eric Botcazou via Gcc-patches wrote: > > Hi, > > the first issue is that the !gotoff_operand path of legitimize_pic_address in > large PIC model does not make use of REG when it is available, which breaks > for thunks because new pseudo-registers can no longer be

[i386] Fix couple of issues in large PIC model on x86-64/VxWorks

2021-10-05 Thread Eric Botcazou via Gcc-patches
Hi, the first issue is that the !gotoff_operand path of legitimize_pic_address in large PIC model does not make use of REG when it is available, which breaks for thunks because new pseudo-registers can no longer be created. And the second issue is that the system compiler (LLVM) generates