Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-28 Thread Ard Biesheuvel
On Wed, 27 May 2020 at 16:36, Arvind Sankar wrote: > > On Sat, May 23, 2020 at 02:00:20PM +0200, Ard Biesheuvel wrote: > > Eliminate all GOT entries in the decompressor binary, by forcing hidden > > visibility for all symbol references, which informs the compiler that > > such references will be r

Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-27 Thread Ard Biesheuvel
On Wed, 27 May 2020 at 20:29, Brian Gerst wrote: > > On Wed, May 27, 2020 at 2:08 PM Arvind Sankar wrote: > > > > On Sat, May 23, 2020 at 02:00:20PM +0200, Ard Biesheuvel wrote: > > > Eliminate all GOT entries in the decompressor binary, by forcing hidden > > > visibility for all symbol reference

Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-27 Thread Brian Gerst
On Wed, May 27, 2020 at 2:08 PM Arvind Sankar wrote: > > On Sat, May 23, 2020 at 02:00:20PM +0200, Ard Biesheuvel wrote: > > Eliminate all GOT entries in the decompressor binary, by forcing hidden > > visibility for all symbol references, which informs the compiler that > > such references will be

Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-27 Thread Arvind Sankar
On Sat, May 23, 2020 at 02:00:20PM +0200, Ard Biesheuvel wrote: > Eliminate all GOT entries in the decompressor binary, by forcing hidden > visibility for all symbol references, which informs the compiler that > such references will be resolved at link time without the need for > allocating GOT ent

Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-24 Thread Ard Biesheuvel
On Sun, 24 May 2020 at 17:12, Ingo Molnar wrote: > > > * Ard Biesheuvel wrote: > > > Eliminate all GOT entries in the decompressor binary, by forcing hidden > > visibility for all symbol references, which informs the compiler that > > such references will be resolved at link time without the need

Re: [PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-24 Thread Ingo Molnar
* Ard Biesheuvel wrote: > Eliminate all GOT entries in the decompressor binary, by forcing hidden > visibility for all symbol references, which informs the compiler that > such references will be resolved at link time without the need for > allocating GOT entries. > > To ensure that no GOT ent

[PATCH v2 2/3] x86/boot/compressed: force hidden visibility for all symbol references

2020-05-23 Thread Ard Biesheuvel
Eliminate all GOT entries in the decompressor binary, by forcing hidden visibility for all symbol references, which informs the compiler that such references will be resolved at link time without the need for allocating GOT entries. To ensure that no GOT entries will creep back in, add an assertio