This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/4] ld: Update phase_enum/relro_enum and add seg_align_type
On Sun, 12 Nov 2017, H.J. Lu wrote:
> Update GNU_RELRO date type so that they can also be used for text-only
> LOAD segment.
>
> * ldexp.h (phase_enum): Rename exp_dataseg_none,
I think this caused a build failure for powerpc targets.
eelf64lppc.c: In function 'prelim_size_sections':
eelf64lppc.c:349:29: error: 'exp_dataseg_none' undeclared (first use in this function)
expld.dataseg.phase = exp_dataseg_none;
^
I see:
ppc32elf.em: expld.dataseg.phase = exp_dataseg_none;
ppc64elf.em: expld.dataseg.phase = exp_dataseg_none;
spuelf.em: expld.dataseg.phase = exp_dataseg_none;
--
Joseph S. Myers
joseph@codesourcery.com