Re: [PATCH v5 6/7] x86/boot: Remove run-time relocations from head_{32,64}.S

2020-07-15 Thread Sedat Dilek
On Wed, Jul 15, 2020 at 11:03 AM Ard Biesheuvel wrote: > > On Wed, 15 Jul 2020 at 11:58, Sedat Dilek wrote: > > > > On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote: > > > > > > The BFD linker generates run-time relocations for z_input_len and > > > z_output_len, even though they are

Re: [PATCH v5 6/7] x86/boot: Remove run-time relocations from head_{32,64}.S

2020-07-15 Thread Ard Biesheuvel
On Wed, 15 Jul 2020 at 11:58, Sedat Dilek wrote: > > On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote: > > > > The BFD linker generates run-time relocations for z_input_len and > > z_output_len, even though they are absolute symbols. > > > > This is fixed for binutils-2.35 [1]. Work around

Re: [PATCH v5 6/7] x86/boot: Remove run-time relocations from head_{32,64}.S

2020-07-15 Thread Sedat Dilek
On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote: > > The BFD linker generates run-time relocations for z_input_len and > z_output_len, even though they are absolute symbols. > > This is fixed for binutils-2.35 [1]. Work around this for earlier > versions by defining two variables input_len

[PATCH v5 6/7] x86/boot: Remove run-time relocations from head_{32,64}.S

2020-07-14 Thread Arvind Sankar
The BFD linker generates run-time relocations for z_input_len and z_output_len, even though they are absolute symbols. This is fixed for binutils-2.35 [1]. Work around this for earlier versions by defining two variables input_len and output_len in addition to the symbols, and use them via