This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v6] Fix dynamic linker issue with bind-now


On Wed, Jul 15, 2015 at 11:29 AM, Petar Jovanovic
<petar.jovanovic@rt-rk.com> wrote:
> Fix the bind-now case when DT_REL and DT_JMPREL sections are separate and
> there is a gap between them. This patch fixes bug #14341.
> ---
> v6:
> - Addressed comments by H.J. Lu
> - modified the test to fail with the latest binutils
> - style changes addressed

Please use

int const __attribute__ ((section(".bar"))) bar = 0x12345678;

and put it in a separate file.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]