Re: Add -fdirect-access-external-data

2021-01-07 Thread H.J. Lu via Gcc
On Thu, Jan 7, 2021 at 7:45 PM Fangrui Song wrote: > > On Thu, Jan 7, 2021 at 6:07 PM H.J. Lu wrote: > > > > On Wed, Jan 6, 2021 at 10:32 PM Fangrui Song wrote: > > > > > > On Sat, Dec 26, 2020 at 7:39 AM H.J. Lu wrote: > > > > > > > > On Sat, Dec 26, 2020 at 7:32 AM Florian Weimer > > > > wr

Re: Add -fdirect-access-external-data

2021-01-07 Thread Fangrui Song
On Thu, Jan 7, 2021 at 6:07 PM H.J. Lu wrote: > > On Wed, Jan 6, 2021 at 10:32 PM Fangrui Song wrote: > > > > On Sat, Dec 26, 2020 at 7:39 AM H.J. Lu wrote: > > > > > > On Sat, Dec 26, 2020 at 7:32 AM Florian Weimer wrote: > > > > > > > > * Fangrui Song: > > > > > > > > > Hi, I filed https://gc

Re: Add -fdirect-access-external-data

2021-01-07 Thread H.J. Lu via Gcc
On Wed, Jan 6, 2021 at 10:32 PM Fangrui Song wrote: > > On Sat, Dec 26, 2020 at 7:39 AM H.J. Lu wrote: > > > > On Sat, Dec 26, 2020 at 7:32 AM Florian Weimer wrote: > > > > > > * Fangrui Song: > > > > > > > Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which > > > > proposes -fd

Re: Add -fdirect-access-external-data

2021-01-06 Thread Fangrui Song
On Sat, Dec 26, 2020 at 7:39 AM H.J. Lu wrote: > > On Sat, Dec 26, 2020 at 7:32 AM Florian Weimer wrote: > > > > * Fangrui Song: > > > > > Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which > > > proposes -fdirect-access-external-data to address some x86-64 > > > GCC/binutils pa

Re: Add -fdirect-access-external-data

2020-12-26 Thread H.J. Lu via Gcc
On Sat, Dec 26, 2020 at 7:32 AM Florian Weimer wrote: > > * Fangrui Song: > > > Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which > > proposes -fdirect-access-external-data to address some x86-64 > > GCC/binutils pain[1] and also benefit non-x86 architectures (also see [1] > > i

Re: Add -fdirect-access-external-data

2020-12-26 Thread Florian Weimer
* Fangrui Song: > Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which > proposes -fdirect-access-external-data to address some x86-64 > GCC/binutils pain[1] and also benefit non-x86 architectures (also see [1] > it can prevent copy relocations). > > [1] Mentioned in https://gcc.gn

Add -fdirect-access-external-data

2020-12-16 Thread Fangrui Song
Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which proposes -fdirect-access-external-data to address some x86-64 GCC/binutils pain[1] and also benefit non-x86 architectures (also see [1] it can prevent copy relocations). [1] Mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi