[PATCH 1/4] ld: Update phase_enum/relro_enum and add seg_align_type

Joseph Myers joseph@codesourcery.com
Mon Nov 13 16:11:00 GMT 2017


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



More information about the Binutils mailing list