FYI.The latest llvm trunk will not emit errors for static variables. The patch
also gives detailed information how to relate a particular static
variable to a particular
relocation.
https://reviews.llvm.org/rL354954
Thanks,
Yonghong
On Fri, Feb 15, 2019 at 12:18 PM Y Song wrote:
>
> On Thu, Feb
On Thu, Feb 14, 2019 at 11:16 PM Joe Stringer wrote:
>
> On Thu, 14 Feb 2019 at 21:39, Y Song wrote:
> >
> > On Mon, Feb 11, 2019 at 4:48 PM Joe Stringer wrote:
> > >
> > > Support loads of static 32-bit data when BPF writers make use of
> > > convenience macros for accessing static global data
On Thu, Feb 14, 2019 at 9:38 PM Y Song wrote:
>
> On Mon, Feb 11, 2019 at 4:48 PM Joe Stringer wrote:
> >
> > Support loads of static 32-bit data when BPF writers make use of
> > convenience macros for accessing static global data variables. A later
> > patch in this series will demonstrate its u
On Thu, 14 Feb 2019 at 21:39, Y Song wrote:
>
> On Mon, Feb 11, 2019 at 4:48 PM Joe Stringer wrote:
> >
> > Support loads of static 32-bit data when BPF writers make use of
> > convenience macros for accessing static global data variables. A later
> > patch in this series will demonstrate its usa
On Mon, Feb 11, 2019 at 4:48 PM Joe Stringer wrote:
>
> Support loads of static 32-bit data when BPF writers make use of
> convenience macros for accessing static global data variables. A later
> patch in this series will demonstrate its usage in a selftest.
>
> As of LLVM-7, this technique only w
Support loads of static 32-bit data when BPF writers make use of
convenience macros for accessing static global data variables. A later
patch in this series will demonstrate its usage in a selftest.
As of LLVM-7, this technique only works with 32-bit data, as LLVM will
complain if this technique i