On Thu, Nov 17, 2022 at 1:55 PM Andrew Pinski wrote:
>
> On Thu, Nov 17, 2022 at 1:46 PM Fangrui Song wrote:
> >
> > On Thu, Nov 17, 2022 at 1:37 PM Andrew Pinski wrote:
> > >
> > > On Thu, Nov 17, 2022 at 1:21 PM maskray--- via Gcc-patches
> > > wrote:
> > > >
> > > > > +.. option:: -mdirect-e
On Thu, Nov 17, 2022 at 1:46 PM Fangrui Song wrote:
>
> On Thu, Nov 17, 2022 at 1:37 PM Andrew Pinski wrote:
> >
> > On Thu, Nov 17, 2022 at 1:21 PM maskray--- via Gcc-patches
> > wrote:
> > >
> > > > +.. option:: -mdirect-extern-access, -mno-direct-extern-access
> > > > +
> > > > + Use direct
On Thu, Nov 17, 2022 at 1:37 PM Andrew Pinski wrote:
>
> On Thu, Nov 17, 2022 at 1:21 PM maskray--- via Gcc-patches
> wrote:
> >
> > > +.. option:: -mdirect-extern-access, -mno-direct-extern-access
> > > +
> > > + Use direct accesses for external data symbols. It avoids a GOT
> > > indirection
On Thu, Nov 17, 2022 at 1:21 PM maskray--- via Gcc-patches
wrote:
>
> > +.. option:: -mdirect-extern-access, -mno-direct-extern-access
> > +
> > + Use direct accesses for external data symbols. It avoids a GOT
> > indirection
> > + on all external data symbols with :option:`-fpie` or :option:`
+.. option:: -mdirect-extern-access, -mno-direct-extern-access
+
+ Use direct accesses for external data symbols. It avoids a GOT indirection
+ on all external data symbols with :option:`-fpie` or :option:`-fPIE`. This
is
+ useful for executables linked with :option:`-static` or
:option:`-s
On Thu, Nov 17, 2022 at 5:30 PM Richard Sandiford via Gcc-patches
wrote:
>
> Wilco Dijkstra writes:
> > Hi Richard,
> >
> >> Can you go into more detail about:
> >>
> >>Use :option:`-mdirect-extern-access` either in shared libraries or in
> >>executables, but not in both. Protected symbo
Wilco Dijkstra writes:
> Hi Richard,
>
>> Can you go into more detail about:
>>
>>Use :option:`-mdirect-extern-access` either in shared libraries or in
>>executables, but not in both. Protected symbols used both in a shared
>>library and executable may cause linker errors or fail to w
Hi Richard,
> Can you go into more detail about:
>
> Use :option:`-mdirect-extern-access` either in shared libraries or in
> executables, but not in both. Protected symbols used both in a shared
> library and executable may cause linker errors or fail to work correctly
>
> If this is LLV
Wilco Dijkstra writes:
> Add a new option -mdirect-extern-access similar to other targets. This
> removes
> GOT indirections on external symbols with -fPIE, resulting in significantly
> better code quality. With -fPIC it only affects protected symbols, allowing
> for more efficient shared libra
Add a new option -mdirect-extern-access similar to other targets. This removes
GOT indirections on external symbols with -fPIE, resulting in significantly
better code quality. With -fPIC it only affects protected symbols, allowing
for more efficient shared libraries which can be linked with stand
10 matches
Mail list logo