This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/1] aarch64/dl-machine.h: Fix load-address for prelink support
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Maninder Singh <maninder1 dot s at samsung dot com>
- Cc: libc-alpha at sourceware dot org, marcus dot shawcroft at arm dot com, mark dot hatle at windriver dot com, ajeet dot y at samsung dot com, hakbong5 dot lee at samsung dot com, doha dot hwang at samsung dot com, pankaj dot m at samsung dot com, Vaneet Narang <v dot narang at samsung dot com>
- Date: Sat, 17 Oct 2015 09:37:07 +0200
- Subject: Re: [PATCH 1/1] aarch64/dl-machine.h: Fix load-address for prelink support
- Authentication-results: sourceware.org; auth=none
- References: <1444987951-17277-1-git-send-email-maninder1 dot s at samsung dot com> <20151017023500 dot GK4446 at vapier dot lan>
Mike Frysinger <vapier@gentoo.org> writes:
> On 16 Oct 2015 15:02, Maninder Singh wrote:
>> + return (ElfW(Addr)) &_DYNAMIC - elf_machine_dynamic ();
>
> paren around ElfW(Addr) aren't really needed
It's a cast.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."