From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] binutils: update to 2.25.1 Date: Sun, 27 Mar 2016 14:53:53 +0100 Message-ID: <1459086833.30749.145.camel@ipfire.org> In-Reply-To: <1459067689-21114-1-git-send-email-marcel.lorenz@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7090201752194366060==" List-Id: --===============7090201752194366060== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, you cannot just remove our hardening patches. -Michael On Sun, 2016-03-27 at 10:34 +0200, Marcel Lorenz wrote: > Signed-off-by: Marcel Lorenz >=20 > --- > =C2=A0config/rootfiles/common/armv5tel/binutils=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0108 +- > =C2=A0config/rootfiles/common/i586/binutils=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A012 +- > =C2=A0config/rootfiles/common/x86_64/binutils=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A012 +- > =C2=A0lfs/binutils=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A0=C2=A09 +- > =C2=A0.../binutils-2.24-pt-pax-flags-20131231.patch=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0| 1030 ----------------- > --- > =C2=A05 files changed, 89 insertions(+), 1082 deletions(-) > =C2=A0delete mode 100644 src/patches/binutils-2.24-pt-pax-flags-20131231.pa= tch >=20 > diff --git a/config/rootfiles/common/armv5tel/binutils > b/config/rootfiles/common/armv5tel/binutils > index 6fcd5ba..bceda99 100644 > --- a/config/rootfiles/common/armv5tel/binutils > +++ b/config/rootfiles/common/armv5tel/binutils > @@ -19,51 +19,93 @@ > =C2=A0#usr/include/bfdlink.h > =C2=A0#usr/include/dis-asm.h > =C2=A0#usr/include/libiberty.h > +#usr/include/plugin-api.h > =C2=A0#usr/include/symcat.h > =C2=A0#usr/lib/ldscripts > -#usr/lib/ldscripts/armelf_linux_eabi.x > -#usr/lib/ldscripts/armelf_linux_eabi.xbn > -#usr/lib/ldscripts/armelf_linux_eabi.xc > -#usr/lib/ldscripts/armelf_linux_eabi.xd > -#usr/lib/ldscripts/armelf_linux_eabi.xdc > -#usr/lib/ldscripts/armelf_linux_eabi.xdw > -#usr/lib/ldscripts/armelf_linux_eabi.xn > -#usr/lib/ldscripts/armelf_linux_eabi.xr > -#usr/lib/ldscripts/armelf_linux_eabi.xs > -#usr/lib/ldscripts/armelf_linux_eabi.xsc > -#usr/lib/ldscripts/armelf_linux_eabi.xsw > -#usr/lib/ldscripts/armelf_linux_eabi.xu > -#usr/lib/ldscripts/armelf_linux_eabi.xw > -#usr/lib/ldscripts/armelfb_linux_eabi.x > -#usr/lib/ldscripts/armelfb_linux_eabi.xbn > -#usr/lib/ldscripts/armelfb_linux_eabi.xc > -#usr/lib/ldscripts/armelfb_linux_eabi.xd > -#usr/lib/ldscripts/armelfb_linux_eabi.xdc > -#usr/lib/ldscripts/armelfb_linux_eabi.xdw > -#usr/lib/ldscripts/armelfb_linux_eabi.xn > -#usr/lib/ldscripts/armelfb_linux_eabi.xr > -#usr/lib/ldscripts/armelfb_linux_eabi.xs > -#usr/lib/ldscripts/armelfb_linux_eabi.xsc > -#usr/lib/ldscripts/armelfb_linux_eabi.xsw > -#usr/lib/ldscripts/armelfb_linux_eabi.xu > -#usr/lib/ldscripts/armelfb_linux_eabi.xw > -usr/lib/libbfd-2.24.so > +#usr/lib/ldscripts/elf32_x86_64.x > +#usr/lib/ldscripts/elf32_x86_64.xbn > +#usr/lib/ldscripts/elf32_x86_64.xc > +#usr/lib/ldscripts/elf32_x86_64.xd > +#usr/lib/ldscripts/elf32_x86_64.xdc > +#usr/lib/ldscripts/elf32_x86_64.xdw > +#usr/lib/ldscripts/elf32_x86_64.xn > +#usr/lib/ldscripts/elf32_x86_64.xr > +#usr/lib/ldscripts/elf32_x86_64.xs > +#usr/lib/ldscripts/elf32_x86_64.xsc > +#usr/lib/ldscripts/elf32_x86_64.xsw > +#usr/lib/ldscripts/elf32_x86_64.xu > +#usr/lib/ldscripts/elf32_x86_64.xw > +#usr/lib/ldscripts/elf_i386.x > +#usr/lib/ldscripts/elf_i386.xbn > +#usr/lib/ldscripts/elf_i386.xc > +#usr/lib/ldscripts/elf_i386.xd > +#usr/lib/ldscripts/elf_i386.xdc > +#usr/lib/ldscripts/elf_i386.xdw > +#usr/lib/ldscripts/elf_i386.xn > +#usr/lib/ldscripts/elf_i386.xr > +#usr/lib/ldscripts/elf_i386.xs > +#usr/lib/ldscripts/elf_i386.xsc > +#usr/lib/ldscripts/elf_i386.xsw > +#usr/lib/ldscripts/elf_i386.xu > +#usr/lib/ldscripts/elf_i386.xw > +#usr/lib/ldscripts/elf_k1om.x > +#usr/lib/ldscripts/elf_k1om.xbn > +#usr/lib/ldscripts/elf_k1om.xc > +#usr/lib/ldscripts/elf_k1om.xd > +#usr/lib/ldscripts/elf_k1om.xdc > +#usr/lib/ldscripts/elf_k1om.xdw > +#usr/lib/ldscripts/elf_k1om.xn > +#usr/lib/ldscripts/elf_k1om.xr > +#usr/lib/ldscripts/elf_k1om.xs > +#usr/lib/ldscripts/elf_k1om.xsc > +#usr/lib/ldscripts/elf_k1om.xsw > +#usr/lib/ldscripts/elf_k1om.xu > +#usr/lib/ldscripts/elf_k1om.xw > +#usr/lib/ldscripts/elf_l1om.x > +#usr/lib/ldscripts/elf_l1om.xbn > +#usr/lib/ldscripts/elf_l1om.xc > +#usr/lib/ldscripts/elf_l1om.xd > +#usr/lib/ldscripts/elf_l1om.xdc > +#usr/lib/ldscripts/elf_l1om.xdw > +#usr/lib/ldscripts/elf_l1om.xn > +#usr/lib/ldscripts/elf_l1om.xr > +#usr/lib/ldscripts/elf_l1om.xs > +#usr/lib/ldscripts/elf_l1om.xsc > +#usr/lib/ldscripts/elf_l1om.xsw > +#usr/lib/ldscripts/elf_l1om.xu > +#usr/lib/ldscripts/elf_l1om.xw > +#usr/lib/ldscripts/elf_x86_64.x > +#usr/lib/ldscripts/elf_x86_64.xbn > +#usr/lib/ldscripts/elf_x86_64.xc > +#usr/lib/ldscripts/elf_x86_64.xd > +#usr/lib/ldscripts/elf_x86_64.xdc > +#usr/lib/ldscripts/elf_x86_64.xdw > +#usr/lib/ldscripts/elf_x86_64.xn > +#usr/lib/ldscripts/elf_x86_64.xr > +#usr/lib/ldscripts/elf_x86_64.xs > +#usr/lib/ldscripts/elf_x86_64.xsc > +#usr/lib/ldscripts/elf_x86_64.xsw > +#usr/lib/ldscripts/elf_x86_64.xu > +#usr/lib/ldscripts/elf_x86_64.xw > +#usr/lib/ldscripts/i386linux.x > +#usr/lib/ldscripts/i386linux.xbn > +#usr/lib/ldscripts/i386linux.xn > +#usr/lib/ldscripts/i386linux.xr > +#usr/lib/ldscripts/i386linux.xu > +usr/lib/libbfd-2.25.1.so > =C2=A0#usr/lib/libbfd.a > =C2=A0#usr/lib/libbfd.la > -#usr/lib/libbfd.so > -#usr/lib/libiberty.a > -usr/lib/libopcodes-2.24.so > +usr/lib/libbfd.so > +usr/lib/libopcodes-2.25.1.so > =C2=A0#usr/lib/libopcodes.a > =C2=A0#usr/lib/libopcodes.la > -#usr/lib/libopcodes.so > +usr/lib/libopcodes.so > =C2=A0#usr/share/info/as.info > =C2=A0#usr/share/info/bfd.info > =C2=A0#usr/share/info/binutils.info > -#usr/share/info/configure.info > =C2=A0#usr/share/info/dir > =C2=A0#usr/share/info/gprof.info > =C2=A0#usr/share/info/ld.info > -#usr/share/info/standards.info > =C2=A0#usr/share/man/man1/addr2line.1 > =C2=A0#usr/share/man/man1/ar.1 > =C2=A0#usr/share/man/man1/as.1 > diff --git a/config/rootfiles/common/i586/binutils > b/config/rootfiles/common/i586/binutils > index 5f4c113..bceda99 100644 > --- a/config/rootfiles/common/i586/binutils > +++ b/config/rootfiles/common/i586/binutils > @@ -19,6 +19,7 @@ > =C2=A0#usr/include/bfdlink.h > =C2=A0#usr/include/dis-asm.h > =C2=A0#usr/include/libiberty.h > +#usr/include/plugin-api.h > =C2=A0#usr/include/symcat.h > =C2=A0#usr/lib/ldscripts > =C2=A0#usr/lib/ldscripts/elf32_x86_64.x > @@ -91,23 +92,20 @@ > =C2=A0#usr/lib/ldscripts/i386linux.xn > =C2=A0#usr/lib/ldscripts/i386linux.xr > =C2=A0#usr/lib/ldscripts/i386linux.xu > -usr/lib/libbfd-2.24.so > +usr/lib/libbfd-2.25.1.so > =C2=A0#usr/lib/libbfd.a > =C2=A0#usr/lib/libbfd.la > -#usr/lib/libbfd.so > -#usr/lib/libiberty.a > -usr/lib/libopcodes-2.24.so > +usr/lib/libbfd.so > +usr/lib/libopcodes-2.25.1.so > =C2=A0#usr/lib/libopcodes.a > =C2=A0#usr/lib/libopcodes.la > -#usr/lib/libopcodes.so > +usr/lib/libopcodes.so > =C2=A0#usr/share/info/as.info > =C2=A0#usr/share/info/bfd.info > =C2=A0#usr/share/info/binutils.info > -#usr/share/info/configure.info > =C2=A0#usr/share/info/dir > =C2=A0#usr/share/info/gprof.info > =C2=A0#usr/share/info/ld.info > -#usr/share/info/standards.info > =C2=A0#usr/share/man/man1/addr2line.1 > =C2=A0#usr/share/man/man1/ar.1 > =C2=A0#usr/share/man/man1/as.1 > diff --git a/config/rootfiles/common/x86_64/binutils > b/config/rootfiles/common/x86_64/binutils > index bb0bf9b..bceda99 100644 > --- a/config/rootfiles/common/x86_64/binutils > +++ b/config/rootfiles/common/x86_64/binutils > @@ -19,6 +19,7 @@ > =C2=A0#usr/include/bfdlink.h > =C2=A0#usr/include/dis-asm.h > =C2=A0#usr/include/libiberty.h > +#usr/include/plugin-api.h > =C2=A0#usr/include/symcat.h > =C2=A0#usr/lib/ldscripts > =C2=A0#usr/lib/ldscripts/elf32_x86_64.x > @@ -91,23 +92,20 @@ > =C2=A0#usr/lib/ldscripts/i386linux.xn > =C2=A0#usr/lib/ldscripts/i386linux.xr > =C2=A0#usr/lib/ldscripts/i386linux.xu > -#usr/lib/libbfd-2.24.so > +usr/lib/libbfd-2.25.1.so > =C2=A0#usr/lib/libbfd.a > =C2=A0#usr/lib/libbfd.la > -#usr/lib/libbfd.so > -#usr/lib/libiberty.a > -#usr/lib/libopcodes-2.24.so > +usr/lib/libbfd.so > +usr/lib/libopcodes-2.25.1.so > =C2=A0#usr/lib/libopcodes.a > =C2=A0#usr/lib/libopcodes.la > -#usr/lib/libopcodes.so > +usr/lib/libopcodes.so > =C2=A0#usr/share/info/as.info > =C2=A0#usr/share/info/bfd.info > =C2=A0#usr/share/info/binutils.info > -#usr/share/info/configure.info > =C2=A0#usr/share/info/dir > =C2=A0#usr/share/info/gprof.info > =C2=A0#usr/share/info/ld.info > -#usr/share/info/standards.info > =C2=A0#usr/share/man/man1/addr2line.1 > =C2=A0#usr/share/man/man1/ar.1 > =C2=A0#usr/share/man/man1/as.1 > diff --git a/lfs/binutils b/lfs/binutils > index 5afaeec..6fbafd6 100644 > --- a/lfs/binutils > +++ b/lfs/binutils > @@ -24,10 +24,10 @@ > =C2=A0 > =C2=A0include Config > =C2=A0 > -VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 2.24 > +VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 2.25.1 > =C2=A0 > =C2=A0THISAPP=C2=A0=C2=A0=C2=A0=C2=A0=3D binutils-$(VER) > -DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.bz2 > +DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.gz > =C2=A0DL_FROM=C2=A0=C2=A0=C2=A0=C2=A0=3D $(URL_IPFIRE) > =C2=A0DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/$(THISAPP) > =C2=A0 > @@ -92,7 +92,7 @@ objects =3D $(DL_FILE) > =C2=A0 > =C2=A0$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > =C2=A0 > -$(DL_FILE)_MD5 =3D e0f71a7b2ddab0f8612336ac81d9636b > +$(DL_FILE)_MD5 =3D ace2b75f6240f566a6c42a1bdacf30bf > =C2=A0 > =C2=A0install : $(TARGET) > =C2=A0 > @@ -121,8 +121,7 @@ $(subst %,%_MD5,$(objects)) : > =C2=A0 > =C2=A0$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > =C2=A0 @$(PREBUILD) > - @rm -rf $(DIR_APP) $(DIR_SRC)/binutils-build && cd $(DIR_SRC) && tar > jxf $(DIR_DL)/$(DL_FILE) > - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/binutils-2.24- > pt-pax-flags-20131231.patch > + @rm -rf $(DIR_APP) $(DIR_SRC)/binutils-build && cd $(DIR_SRC) && tar > axf $(DIR_DL)/$(DL_FILE) > =C2=A0 > =C2=A0 @mkdir $(DIR_SRC)/binutils-build > =C2=A0 > diff --git a/src/patches/binutils-2.24-pt-pax-flags-20131231.patch > b/src/patches/binutils-2.24-pt-pax-flags-20131231.patch > deleted file mode 100644 > index cfb2035..0000000 > --- a/src/patches/binutils-2.24-pt-pax-flags-20131231.patch > +++ /dev/null > @@ -1,1030 +0,0 @@ > ---- binutils-2.24/bfd/elf-bfd.h > -+++ binutils-2.24/bfd/elf-bfd.h > -@@ -1577,6 +1577,9 @@ struct elf_obj_tdata > -=C2=A0=C2=A0=C2=A0/* Segment flags for the PT_GNU_STACK segment.=C2=A0=C2= =A0*/ > -=C2=A0=C2=A0=C2=A0unsigned int stack_flags; > -=C2=A0 > -+=C2=A0=C2=A0/* Segment flags for the PT_PAX_FLAGS segment.=C2=A0=C2=A0*/ > -+=C2=A0=C2=A0unsigned int pax_flags; > -+ > -=C2=A0=C2=A0=C2=A0/* This is set to TRUE if the object was created by the = backend > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0linker.=C2=A0=C2=A0*/ > -=C2=A0=C2=A0=C2=A0bfd_boolean linker; > -@@ -1707,6 +1707,7 @@ > - #define elf_eh_frame_hdr(bfd) (elf_tdata(bfd) -> o->eh_frame_hdr) > - #define elf_linker(bfd) (elf_tdata(bfd) -> o->linker) > - #define elf_stack_flags(bfd) (elf_tdata(bfd) -> o->stack_flags) > -+#define elf_pax_flags(bfd) (elf_tdata(bfd) -> o->pax_flags) > - #define elf_shstrtab(bfd) (elf_tdata(bfd) -> o->strtab_ptr) > - #define elf_onesymtab(bfd) (elf_tdata(bfd) -> symtab_section) > - #define elf_symtab_shndx(bfd) (elf_tdata(bfd) -> > symtab_shndx_section) > ---- binutils-2.24/bfd/elf.c > -+++ binutils-2.24/bfd/elf.c > -@@ -1158,6 +1158,7 @@ get_segment_type (unsigned int p_type) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_EH_FRAME: pt =3D "EH_FRAME"; bre= ak; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_STACK: pt =3D "STACK"; break; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_RELRO: pt =3D "RELRO"; break; > -+=C2=A0=C2=A0=C2=A0=C2=A0case PT_PAX_FLAGS: pt =3D "PAX_FLAGS"; break; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default: pt =3D NULL; break; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0return pt; > -@@ -2477,6 +2478,9 @@ bfd_section_from_phdr (bfd *abfd, Elf_Internal_Phdr > *hdr, int hdr_index) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_RELRO: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0return _bfd_elf_make_section_fro= m_phdr (abfd, hdr, hdr_index, > "relro"); > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0case PT_PAX_FLAGS: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0return _bfd_elf_make_section_from_phd= r (abfd, hdr, hdr_index, > "pax_flags"); > -+ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* Check for any processor-speci= fic program segment types.=C2=A0=C2=A0*/ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bed =3D get_elf_backend_data (ab= fd); > -@@ -3551,6 +3555,11 @@ get_program_header_size (bfd *abfd, struct > bfd_link_info *info) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0++segs; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0{ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* We need a PT_PAX_FLAGS segment.=C2= =A0=C2=A0*/ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0++segs; > -+=C2=A0=C2=A0=C2=A0=C2=A0} > -+ > -=C2=A0=C2=A0=C2=A0for (s =3D abfd->sections; s !=3D NULL; s =3D s->next) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0{ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if ((s->flags & SEC_LOAD) !=3D 0 > -@@ -4153,6 +4162,20 @@ _bfd_elf_map_sections_to_segments (bfd *abfd, struct > bfd_link_info *info) > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0 } > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0{ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0amt =3D sizeof (struct elf_segment_ma= p); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0m =3D bfd_zalloc (abfd, amt); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (m =3D=3D NULL) > -+ goto error_return; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0m->next =3D NULL; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0m->p_type =3D PT_PAX_FLAGS; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0m->p_flags =3D elf_pax_flags (abfd); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0m->p_flags_valid =3D 1; > -+ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0*pm =3D m; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0pm =3D &m->next; > -+=C2=A0=C2=A0=C2=A0=C2=A0} > -+ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0free (sections); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_tdata (abfd)->segment_map = =3D mfirst; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -@@ -5417,7 +5440,8 @@ rewrite_elf_program_header (bfd *ibfd, bfd *obfd) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A06. PT_TLS segment includes= only SHF_TLS sections. > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A07. SHF_TLS sections are on= ly in PT_TLS or PT_LOAD segments. > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A08. PT_DYNAMIC should not c= ontain empty sections at the beginning > -- =C2=A0=C2=A0(with the possible exception of .dynamic).=C2=A0=C2=A0*/ > -+ =C2=A0=C2=A0(with the possible exception of .dynamic). > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A09. PT_PAX_FLAGS segments do not= include any sections.=C2=A0=C2=A0*/ > - #define IS_SECTION_IN_INPUT_SEGMENT(section, segment, bed) \ > -=C2=A0=C2=A0=C2=A0((((segment->p_paddr =09 > \ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0? IS_CONTAINED_BY_LMA (section, = segment, segment->p_paddr) \ > -@@ -5425,6 +5449,7 @@ rewrite_elf_program_header (bfd *ibfd, bfd *obfd) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0&& (section->flags & SEC_ALLOC) !=3D 0= ) \ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|| IS_NOTE (segment, section)) \ > -=C2=A0=C2=A0=C2=A0=C2=A0&& segment->p_type !=3D PT_GNU_STACK =09 > \ > -+=C2=A0=C2=A0=C2=A0&& segment->p_type !=3D PT_PAX_FLAGS =09 > \ > -=C2=A0=C2=A0=C2=A0=C2=A0&& (segment->p_type !=3D PT_TLS \ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|| (section->flags & SEC_T= HREAD_LOCAL)) =09 > \ > -=C2=A0=C2=A0=C2=A0=C2=A0&& (segment->p_type =3D=3D PT_LOAD \ > ---- binutils-2.24/bfd/elflink.c > -+++ binutils-2.24/bfd/elflink.c > -@@ -5545,17 +5545,30 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0&& ! (*bed->elf_backend_always_s= ize_sections) (output_bfd, info)) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0return FALSE; > -=C2=A0 > -+=C2=A0=C2=A0elf_pax_flags (output_bfd) =3D PF_NORANDEXEC; > -+=C2=A0=C2=A0if (info->execheap) > -+=C2=A0=C2=A0=C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_NOMPROTECT; > -+=C2=A0=C2=A0else if (info->noexecheap) > -+=C2=A0=C2=A0=C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_MPROTECT; > -+ > -=C2=A0=C2=A0=C2=A0/* Determine any GNU_STACK segment requirements, after t= he backend > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0has had a chance to set a default segm= ent size.=C2=A0=C2=A0*/ > -=C2=A0=C2=A0=C2=A0if (info->execstack) > --=C2=A0=C2=A0=C2=A0=C2=A0elf_stack_flags (output_bfd) =3D PF_R | PF_W | PF= _X; > -+=C2=A0=C2=A0=C2=A0=C2=A0{ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_stack_flags (output_bfd) =3D PF_R= | PF_W | PF_X; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_EM= UTRAMP; > -+=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0else if (info->noexecstack) > --=C2=A0=C2=A0=C2=A0=C2=A0elf_stack_flags (output_bfd) =3D PF_R | PF_W; > -+=C2=A0=C2=A0=C2=A0=C2=A0{ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_stack_flags (output_bfd) =3D PF_R= | PF_W; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_NO= EMUTRAMP; > -+=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0else > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0{ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bfd *inputobj; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0asection *notesec =3D NULL; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0int exec =3D 0; > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_NO= EMUTRAMP; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0for (inputobj =3D info->input_bf= ds; > -=C2=A0 =C2=A0=C2=A0=C2=A0inputobj; > -=C2=A0 =C2=A0=C2=A0=C2=A0inputobj =3D inputobj->link_next) > -@@ -5567,7 +5581,11 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd, > -=C2=A0 =C2=A0=C2=A0if (s) > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0{ > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (s->flags & SEC_CODE) > -- exec =3D PF_X; > -+ { > -+ =C2=A0=C2=A0elf_pax_flags (output_bfd) &=3D ~PF_NOEMUTRAMP; > -+ =C2=A0=C2=A0elf_pax_flags (output_bfd) |=3D PF_EMUTRAMP; > -+ =C2=A0=C2=A0exec =3D PF_X; > -+ } > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0notesec =3D s; > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0 =C2=A0=C2=A0else if (bed->default_execstack) > ---- binutils-2.24/binutils/readelf.c > -+++ binutils-2.24/binutils/readelf.c > -@@ -2740,6 +2740,7 @@ get_segment_type (unsigned long p_type) > -=C2=A0 return "GNU_EH_FRAME"; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_STACK: return "GNU_STACK"; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case PT_GNU_RELRO:=C2=A0=C2=A0return "GNU_RE= LRO"; > -+=C2=A0=C2=A0=C2=A0=C2=A0case PT_PAX_FLAGS:=C2=A0=C2=A0return "PAX_FLAGS"; > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if ((p_type >=3D PT_LOPROC) && (= p_type <=3D PT_HIPROC)) > ---- binutils-2.24/include/bfdlink.h > -+++ binutils-2.24/include/bfdlink.h > -@@ -322,6 +322,14 @@ struct bfd_link_info > -=C2=A0=C2=A0=C2=A0/* TRUE if PT_GNU_RELRO segment should be created.=C2=A0= =C2=A0*/ > -=C2=A0=C2=A0=C2=A0unsigned int relro: 1; > -=C2=A0 > -+=C2=A0=C2=A0/* TRUE if PT_PAX_FLAGS segment should be created with PF_NOM= PROTECT > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0flags.=C2=A0=C2=A0*/ > -+=C2=A0=C2=A0unsigned int execheap: 1; > -+ > -+=C2=A0=C2=A0/* TRUE if PT_PAX_FLAGS segment should be created with PF_MPR= OTECT > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0flags.=C2=A0=C2=A0*/ > -+=C2=A0=C2=A0unsigned int noexecheap: 1; > -+ > -=C2=A0=C2=A0=C2=A0/* TRUE if .eh_frame_hdr section and PT_GNU_EH_FRAME ELF= segment > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0should be created.=C2=A0=C2=A0*/ > -=C2=A0=C2=A0=C2=A0unsigned int eh_frame_hdr: 1; > ---- binutils-2.24/include/elf/common.h > -+++ binutils-2.24/include/elf/common.h > -@@ -429,6 +429,7 @@ > - #define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0/* Solaris uses the same value > */ > - #define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */ > - #define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after > relocation */ > -+#define PT_PAX_FLAGS (PT_LOOS + 0x5041580) /* PaX flags */ > -=C2=A0 > - /* Program segment permissions, in program header p_flags field.=C2=A0=C2= =A0*/ > -=C2=A0 > -@@ -439,6 +440,21 @@ > - #define PF_MASKOS 0x0FF00000 /* New value, Oct 4, 1999 Draft > */ > - #define PF_MASKPROC 0xF0000000 /* Processor-specific reserved > bits */ > -=C2=A0 > -+/* Flags to control PaX behavior.=C2=A0=C2=A0*/ > -+ > -+#define PF_PAGEEXEC (1 << 4) /* Enable=C2=A0=C2=A0PAGEEXEC */ > -+#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */ > -+#define PF_SEGMEXEC (1 << 6) /* Enable=C2=A0=C2=A0SEGMEXEC */ > -+#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */ > -+#define PF_MPROTECT (1 << 8) /* Enable=C2=A0=C2=A0MPROTECT */ > -+#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */ > -+#define PF_RANDEXEC (1 << 10) /* Enable=C2=A0=C2=A0RANDEXEC */ > -+#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */ > -+#define PF_EMUTRAMP (1 << 12) /* Enable=C2=A0=C2=A0EMUTRAMP */ > -+#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */ > -+#define PF_RANDMMAP (1 << 14) /* Enable=C2=A0=C2=A0RANDMMAP */ > -+#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */ > -+ > - /* Values for section header, sh_type field.=C2=A0=C2=A0*/ > -=C2=A0 > - #define SHT_NULL 0 /* Section header table entry > unused */ > ---- binutils-2.24/ld/emultempl/elf32.em > -+++ binutils-2.24/ld/emultempl/elf32.em > -@@ -2285,6 +2285,16 @@ fragment < -=C2=A0 =C2=A0=C2=A0link_info.noexecstack =3D TRUE; > -=C2=A0 =C2=A0=C2=A0link_info.execstack =3D FALSE; > -=C2=A0 } > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else if (strcmp (optarg, "execheap") = =3D=3D 0) > -+ { > -+ =C2=A0=C2=A0link_info.execheap =3D TRUE; > -+ =C2=A0=C2=A0link_info.noexecheap =3D FALSE; > -+ } > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else if (strcmp (optarg, "noexecheap"= ) =3D=3D 0) > -+ { > -+ =C2=A0=C2=A0link_info.noexecheap =3D TRUE; > -+ =C2=A0=C2=A0link_info.execheap =3D FALSE; > -+ } > - EOF > - if test x"$GENERATE_SHLIB_SCRIPT" =3D xyes; then > - fragment < -@@ -2368,6 +2378,8 @@ fragment < -=C2=A0=C2=A0=C2=A0-z defs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0Report unresolved symbols in object > files.\n")); > -=C2=A0=C2=A0=C2=A0fprintf (file, _("\ > -=C2=A0=C2=A0=C2=A0-z execstack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Mark executable as requ= iring executable > stack\n")); > -+=C2=A0=C2=A0fprintf (file, _("\ > -+=C2=A0=C2=A0-z execheap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Mark executable as requ= iring executable > heap\n")); > - EOF > -=C2=A0 > - if test x"$GENERATE_SHLIB_SCRIPT" =3D xyes; then > -@@ -2391,6 +2403,8 @@ fragment < - fragment < -=C2=A0=C2=A0=C2=A0fprintf (file, _("\ > -=C2=A0=C2=A0=C2=A0-z noexecstack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Mark executable as not requiring ex= ecutable > stack\n")); > -+=C2=A0=C2=A0fprintf (file, _("\ > -+=C2=A0=C2=A0-z noexecheap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Mark executable as not requiring ex= ecutable > heap\n")); > - EOF > - if test x"$GENERATE_SHLIB_SCRIPT" =3D xyes; then > - fragment < ---- binutils-2.24/ld/ldgram.y > -+++ binutils-2.24/ld/ldgram.y > -@@ -1119,6 +1119,8 @@ phdr_type: > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0$$ =3D exp_intop (0x6474e550); > -=C2=A0 =C2=A0=C2=A0else if (strcmp (s, "PT_GNU_STACK") =3D=3D 0) > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0$$ =3D exp_intop (0x6474e551); > -+ =C2=A0=C2=A0else if (strcmp (s, "PT_PAX_FLAGS") =3D=3D 0) > -+ =C2=A0=C2=A0=C2=A0=C2=A0$$ =3D exp_intop (0x65041580); > -=C2=A0 =C2=A0=C2=A0else > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0{ > -=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0einfo (_("\ > ---- binutils-2.24/ld/testsuite/ld-alpha/tlsbin.rd > -+++ binutils-2.24/ld/testsuite/ld-alpha/tlsbin.rd > -@@ -35,13 +35,14 @@ There are [0-9]+ program headers, starting at offset [= 0- > 9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0=C2=A0Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg A= lign > --=C2=A0=C2=A0PHDR +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+150= R E 0x8 > -+=C2=A0=C2=A0PHDR +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+188= R E 0x8 > -=C2=A0=C2=A0=C2=A0INTERP +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ = 0x[0-9a-f]+ R +0x1 > - .*Requesting program interpreter.* > -=C2=A0=C2=A0=C2=A0LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x= [0-9a-f]+ R E > 0x10000 > -=C2=A0=C2=A0=C2=A0LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x= [0-9a-f]+ RWE > 0x10000 > -=C2=A0=C2=A0=C2=A0DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+= 0x[0-9a-f]+ RW > +0x8 > -=C2=A0=C2=A0=C2=A0TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[= 0-9a-f]+ R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries: > ---- binutils-2.24/ld/testsuite/ld-alpha/tlsbinr.rd > -+++ binutils-2.24/ld/testsuite/ld-alpha/tlsbinr.rd > -@@ -42,6 +42,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a= -f]+ RWE > 0x10000 > -=C2=A0=C2=A0+DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0= -9a-f]+ RW > +0x8 > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-= f]+ R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries: > ---- binutils-2.24/ld/testsuite/ld-alpha/tlspic.rd > -+++ binutils-2.24/ld/testsuite/ld-alpha/tlspic.rd > -@@ -38,6 +38,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a= -f]+ RWE > 0x10000 > -=C2=A0=C2=A0+DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0= -9a-f]+ RW > +0x8 > -=C2=A0=C2=A0+TLS +0x0+10e0 0x0+110e0 0x0+110e0 0x0+60 0x0+80 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 7 entries: > ---- binutils-2.24/ld/testsuite/ld-elf/eh1.d > -+++ binutils-2.24/ld/testsuite/ld-elf/eh1.d > -@@ -22,11 +22,11 @@ Contents of the .eh_frame section: > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0 > --0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D0+400078..0+400078 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D([0-9a-f]+)..\1 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_offset: 16 > -=C2=A0=C2=A0=C2=A0DW_CFA_offset: r6 \(rbp\) at cfa-16 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_register: r6 \(rbp\) > -=C2=A0 > - 0+0038 ZERO terminator > ---- binutils-2.24/ld/testsuite/ld-elf/eh2.d > -+++ binutils-2.24/ld/testsuite/ld-elf/eh2.d > -@@ -22,11 +22,11 @@ Contents of the .eh_frame section: > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0 > --0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D0+400078..0+400078 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D([0-9a-f]+)..\1 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_offset: 16 > -=C2=A0=C2=A0=C2=A0DW_CFA_offset: r6 \(rbp\) at cfa-16 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_register: r6 \(rbp\) > -=C2=A0 > - 0+0038 ZERO terminator > ---- binutils-2.24/ld/testsuite/ld-elf/eh3.d > -+++ binutils-2.24/ld/testsuite/ld-elf/eh3.d > -@@ -22,11 +22,11 @@ Contents of the .eh_frame section: > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0=C2=A0=C2=A0DW_CFA_nop > -=C2=A0 > --0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D0+400078..0+400078 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+0+0018 0+001c 0+001c FDE cie=3D0+0000 pc=3D([0-9a-f]+)..\1 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_offset: 16 > -=C2=A0=C2=A0=C2=A0DW_CFA_offset: r6 \(rbp\) at cfa-16 > --=C2=A0=C2=A0DW_CFA_advance_loc: 0 to 0+400078 > -+=C2=A0=C2=A0DW_CFA_advance_loc: 0 to [0-9a-f]+ > -=C2=A0=C2=A0=C2=A0DW_CFA_def_cfa_register: r6 \(rbp\) > -=C2=A0 > - 0+0038 ZERO terminator > ---- binutils-2.24/ld/testsuite/ld-elf/orphan-region.d > -+++ binutils-2.24/ld/testsuite/ld-elf/orphan-region.d > -@@ -15,7 +15,9 @@ > - Program Headers: > -=C2=A0=C2=A0=C2=A0Type.* > -=C2=A0=C2=A0=C2=A0LOAD[ \t]+0x[0-9a-f]+ 0x0*40000000 0x0*40000000 0x[0-9a-= f]+ 0x[0-9a-f]+ > RWE 0x[0-9a-f]+ > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0=C2=A0Segment Sections... > -=C2=A0=C2=A0=C2=A0=C2=A000=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0.text .rodata .mor= edata * > -+=C2=A0=C2=A0=C2=A001 + > ---- binutils-2.24/ld/testsuite/ld-i386/tlsbin.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlsbin.rd > -@@ -44,6 +44,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1= 000 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -53,6 +54,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +.tdata .dynamic .got .got.plt * > -=C2=A0=C2=A0+04 +.dynamic * > -=C2=A0=C2=A0+05 +.tdata .tbss * > -+ +06 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-i386/tlsbindesc.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlsbindesc.rd > -@@ -42,6 +42,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1= 000 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -51,6 +52,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +.tdata .dynamic .got .got.plt * > -=C2=A0=C2=A0+04 +.dynamic * > -=C2=A0=C2=A0+05 +.tdata .tbss * > -+ +06 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-i386/tlsdesc.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlsdesc.rd > -@@ -39,6 +39,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -46,6 +47,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.tdata .dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -=C2=A0=C2=A0+03 +.tdata .tbss * > -+ +04 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-i386/tlsgdesc.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlsgdesc.rd > -@@ -36,12 +36,14 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -+ +PAX_FLAGS.* > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -=C2=A0=C2=A0+00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * > -=C2=A0=C2=A0+01 +.dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -+ +03 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-i386/tlsnopic.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlsnopic.rd > -@@ -37,6 +37,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -44,6 +45,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -=C2=A0=C2=A0+03 +.tbss * > -+ +04 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-i386/tlspic.rd > -+++ binutils-2.24/ld/testsuite/ld-i386/tlspic.rd > -@@ -40,6 +40,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -47,6 +48,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.tdata .dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -=C2=A0=C2=A0+03 +.tdata .tbss * > -+ +04 + > -=C2=A0 > - Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name > ---- binutils-2.24/ld/testsuite/ld-ia64/merge1.d > -+++ binutils-2.24/ld/testsuite/ld-ia64/merge1.d > -@@ -4,7 +4,7 @@ > - #objdump: -d > -=C2=A0 > - #... > --0+1e0 <.text>: > -+[a-f0-9]+ <.text>: > - [=C2=A0 ]*[a-f0-9]+: 0b 60 80 02 00 24=C2=A0 \[MMI\]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0addl > r12=3D32,r1;; > - [=C2=A0 ]*[a-f0-9]+: c0 c0 04 00 48 00=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0addl > r12=3D24,r1 > - [=C2=A0 ]*[a-f0-9]+: 00 00 04 00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n= op.i > 0x0;; > ---- binutils-2.24/ld/testsuite/ld-ia64/merge2.d > -+++ binutils-2.24/ld/testsuite/ld-ia64/merge2.d > -@@ -4,7 +4,7 @@ > - #objdump: -d > -=C2=A0 > - #... > --0+1e0 <.text>: > -+[a-f0-9]+ <.text>: > - [=C2=A0 ]*[a-f0-9]+: 0b 60 80 02 00 24=C2=A0 \[MMI\]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0addl > r12=3D32,r1;; > - [=C2=A0 ]*[a-f0-9]+: c0 c0 04 00 48 00=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0addl > r12=3D24,r1 > - [=C2=A0 ]*[a-f0-9]+: 00 00 04 00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n= op.i > 0x0;; > ---- binutils-2.24/ld/testsuite/ld-ia64/merge3.d > -+++ binutils-2.24/ld/testsuite/ld-ia64/merge3.d > -@@ -4,7 +4,7 @@ > - #objdump: -d > -=C2=A0 > - #... > --0+210 <.text>: > -+[a-f0-9]+ <.text>: > - [=C2=A0 ]*[a-f0-9]+: 0b 60 80 02 00 24=C2=A0 \[MMI\]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0addl > r12=3D32,r1;; > - [=C2=A0 ]*[a-f0-9]+: c0 40 05 00 48 00=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0addl > r12=3D40,r1 > - [=C2=A0 ]*[a-f0-9]+: 00 00 04 00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n= op.i > 0x0;; > ---- binutils-2.24/ld/testsuite/ld-ia64/merge4.d > -+++ binutils-2.24/ld/testsuite/ld-ia64/merge4.d > -@@ -4,7 +4,7 @@ > - #objdump: -d > -=C2=A0 > - #... > --0+240 <.text>: > -+[a-f0-9]+ <.text>: > - [=C2=A0 ]*[a-f0-9]+: 0b 60 80 02 00 24=C2=A0 \[MMI\]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0addl > r12=3D32,r1;; > - [=C2=A0 ]*[a-f0-9]+: c0 40 05 00 48 00=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0addl > r12=3D40,r1 > - [=C2=A0 ]*[a-f0-9]+: 00 00 04 00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n= op.i > 0x0;; > ---- binutils-2.24/ld/testsuite/ld-ia64/merge5.d > -+++ binutils-2.24/ld/testsuite/ld-ia64/merge5.d > -@@ -4,7 +4,7 @@ > - #objdump: -d > -=C2=A0 > - #... > --0+270 <.text>: > -+[a-f0-9]+ <.text>: > - [=C2=A0 ]*[a-f0-9]+: 0b 60 80 02 00 24=C2=A0 \[MMI\]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0addl > r12=3D32,r1;; > - [=C2=A0 ]*[a-f0-9]+: c0 40 05 00 48 00=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0addl > r12=3D40,r1 > - [=C2=A0 ]*[a-f0-9]+: 00 00 04 00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n= op.i > 0x0;; > ---- binutils-2.24/ld/testsuite/ld-ia64/tlsbin.rd > -+++ binutils-2.24/ld/testsuite/ld-ia64/tlsbin.rd > -@@ -36,13 +36,14 @@ There are [0-9]+ program headers, starting at offset [= 0- > 9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align > -- +PHDR +0x0+40 0x40+40 0x40+40 0x0+188 0x0+188 R E 0x8 > -- +INTERP +0x0+1c8 0x40+1c8 0x40+1c8 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x1 > -+ +PHDR +0x0+40 0x40+40 0x40+40 (0x[0-9a-f]+) \1 R E 0x8 > -+ +INTERP +0x0+([0-9a-f]+) (0x40+\1) \2 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x1 > - .*Requesting program interpreter.* > -=C2=A0=C2=A0+LOAD +0x0+ 0x40+ 0x40+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10= 000 > -=C2=A0=C2=A0+LOAD +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+0[0-= 9a-f]+ > 0x0+0[0-9a-f]+ RW +0x10000 > -=C2=A0=C2=A0+DYNAMIC +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+1= 50 0x0+150 RW > +0x8 > -=C2=A0=C2=A0+TLS +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+60 0x= 0+a0 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0+IA_64_UNWIND .* R +0x8 > - #... > -=C2=A0 > ---- binutils-2.24/ld/testsuite/ld-ia64/tlspic.rd > -+++ binutils-2.24/ld/testsuite/ld-ia64/tlspic.rd > -@@ -40,6 +40,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+0[0-= 9a-f]+ > 0x0+0[0-9a-f]+ RW +0x10000 > -=C2=A0=C2=A0+DYNAMIC +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+1= 40 0x0+140 RW > +0x8 > -=C2=A0=C2=A0+TLS +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+60 0x= 0+80 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0+IA_64_UNWIND +0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x= 0+18 0x0+18 R > +0x8 > - #... > -=C2=A0 > ---- binutils-2.24/ld/testsuite/ld-mips-elf/multi-got-no-shared.d > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/multi-got-no-shared.d > -@@ -8,9 +8,9 @@ > - .*: +file format.* > -=C2=A0 > - Disassembly of section \.text: > --004000b0 <[^>]*> 3c1c0043=C2=A0 lui gp,0x43 > --004000b4 <[^>]*> 279c9ff0=C2=A0 addiu gp,gp,-24592 > --004000b8 <[^>]*> afbc0008=C2=A0 sw gp,8\(sp\) > -+004000d0 <[^>]*> 3c1c0043=C2=A0 lui gp,0x43 > -+004000d4 <[^>]*> 279c9ff0=C2=A0 addiu gp,gp,-24592 > -+004000d8 <[^>]*> afbc0008=C2=A0 sw gp,8\(sp\) > - #... > - 00408d60 <[^>]*> 3c1c0043=C2=A0 lui gp,0x43 > - 00408d64 <[^>]*> 279c2c98=C2=A0 addiu gp,gp,11416 > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is DYN \(Shared object file\) > - Entry point .* > --There are 5 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -9,6 +9,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+00000 * 0x0+00000 [^ ]+ * [^ ]+ * R E * 0= x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+10000 * 0x0+10000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+00400 * 0x0+00400 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -18,3 +19,4 @@ Program Headers: > -=C2=A0=C2=A0*0*2 * \.data \.got * > -=C2=A0=C2=A0*0*3 * \.dynamic * > -=C2=A0=C2=A0*0*4 * > -+ *0*5 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 8 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -13,6 +13,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -25,3 +26,4 @@ Program Headers: > -=C2=A0=C2=A0*0*5 *\.got \.data * > -=C2=A0=C2=A0*0*6 *\.dynamic * > -=C2=A0=C2=A0*0*7 * > -+ *0*8 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 8 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -13,6 +13,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -25,3 +26,4 @@ Program Headers: > -=C2=A0=C2=A0*0*5 * \.got \.data \.bss * > -=C2=A0=C2=A0*0*6 * \.dynamic * > -=C2=A0=C2=A0*0*7 * > -+ *0*8 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 8 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -13,6 +13,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -25,3 +26,4 @@ Program Headers: > -=C2=A0=C2=A0*0*5 * \.got \.data \.bss * > -=C2=A0=C2=A0*0*6 * \.dynamic * > -=C2=A0=C2=A0*0*7 * > -+ *0*8 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 8 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -13,6 +13,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -25,3 +26,4 @@ Program Headers: > -=C2=A0=C2=A0*0*5 * \.got \.data \.bss * > -=C2=A0=C2=A0*0*6 * \.dynamic * > -=C2=A0=C2=A0*0*7 * > -+ *0*8 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 7 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -12,6 +12,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -23,3 +24,4 @@ Program Headers: > -=C2=A0=C2=A0*0*4 * \.got \.data \.bss * > -=C2=A0=C2=A0*0*5 * \.dynamic * > -=C2=A0=C2=A0*0*6 * > -+ *0*7 * > ---- binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.sd > -+++ binutils-2.24/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.sd > -@@ -1,7 +1,7 @@ > -=C2=A0 > - Elf file type is EXEC \(Executable file\) > - Entry point 0x44000 > --There are 8 program headers, starting at offset .* > -+There are [0-9] program headers, starting at offset .* > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0* Type * Offset * VirtAddr * PhysAddr * FileSiz * MemSiz * Flg= * Align > -@@ -13,6 +13,7 @@ Program Headers: > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+80000 * 0x0+80000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* LOAD * [^ ]+ * 0x0+a0000 * 0x0+a0000 [^ ]+ * [^ ]+ * RW=C2= =A0=C2=A0* 0x.* > -=C2=A0=C2=A0* DYNAMIC * [^ ]+ * 0x0+42000 * 0x0+42000 .* > -+ * PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0=C2=A0* NULL * .* > -=C2=A0 > -=C2=A0=C2=A0*Section to Segment mapping: > -@@ -25,3 +26,4 @@ Program Headers: > -=C2=A0=C2=A0*0*5 * \.got \.data \.bss * > -=C2=A0=C2=A0*0*6 * \.dynamic * > -=C2=A0=C2=A0*0*7 * > -+ *0*8 * > ---- binutils-2.24/ld/testsuite/ld-powerpc/tlsexe32.r > -+++ binutils-2.24/ld/testsuite/ld-powerpc/tlsexe32.r > -@@ -33,13 +33,14 @@ There are [0-9]+ program headers, starting at offset [= 0- > 9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0+Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align > -- +PHDR +0x000034 0x01800034 0x01800034 0x000c0 0x000c0 R E 0x4 > -- +INTERP +0x0000f4 0x018000f4 0x018000f4 0x00011 0x00011 R +0x1 > -+ +PHDR +0x000034 0x01800034 0x01800034 (0x000[0-9a-f]{2}) \1 R E 0x4 > -+ +INTERP +0x000([0-9a-f]{3}) 0x01800\1 0x01800\1 0x00011 0x00011 R +0x1 > -=C2=A0=C2=A0+\[Requesting program interpreter: .*\] > -=C2=A0=C2=A0+LOAD .* R E 0x10000 > -=C2=A0=C2=A0+LOAD .* RWE 0x10000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0001c 0x00038 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections\.\.\. > -@@ -49,6 +50,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +\.tdata \.dynamic \.got \.plt=C2=A0 > -=C2=A0=C2=A0+04 +\.dynamic=C2=A0 > -=C2=A0=C2=A0+05 +\.tdata \.tbss=C2=A0 > -+ +06 + > -=C2=A0 > - Relocation section '\.rela\.dyn' at offset .* contains 2 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-powerpc/tlsso32.r > -+++ binutils-2.24/ld/testsuite/ld-powerpc/tlsso32.r > -@@ -35,6 +35,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD .* RWE 0x10000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0+1c 0x0+38 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections\.\.\. > -@@ -42,6 +43,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +\.tdata \.dynamic \.got \.plt=C2=A0 > -=C2=A0=C2=A0+02 +\.dynamic=C2=A0 > -=C2=A0=C2=A0+03 +\.tdata \.tbss=C2=A0 > -+ +04 + > -=C2=A0 > - Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 18 entrie= s: > -=C2=A0=C2=A0Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend > -@@ -52,9 +54,9 @@ Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ > contains 18 entries: > - [0-9a-f ]+R_PPC_TPREL16 +0+30 +le0 \+ 0 > - [0-9a-f ]+R_PPC_TPREL16_HA +0+34 +le1 \+ 0 > - [0-9a-f ]+R_PPC_TPREL16_LO +0+34 +le1 \+ 0 > --[0-9a-f ]+R_PPC_TPREL16 +0+103d0 +\.tdata \+ 103e4 > --[0-9a-f ]+R_PPC_TPREL16_HA +0+103d0 +\.tdata \+ 103e8 > --[0-9a-f ]+R_PPC_TPREL16_LO +0+103d0 +\.tdata \+ 103e8 > -+[0-9a-f ]+R_PPC_TPREL16 +0+103[df]0 +\.tdata \+ 10[0-9a-f]{3} > -+[0-9a-f ]+R_PPC_TPREL16_HA +0+103[df]0 +\.tdata \+ 10[0-9a-f]{3} > -+[0-9a-f ]+R_PPC_TPREL16_LO +0+103[df]0 +\.tdata \+ 10[0-9a-f]{3} > - [0-9a-f ]+R_PPC_DTPMOD32 +0 > - [0-9a-f ]+R_PPC_DTPREL32 +0 > - [0-9a-f ]+R_PPC_DTPMOD32 +0 > ---- binutils-2.24/ld/testsuite/ld-s390/tlsbin.rd > -+++ binutils-2.24/ld/testsuite/ld-s390/tlsbin.rd > -@@ -36,6 +36,7 @@ There are [0-9]+ program headers, starting at offset [0-= 9]+ > -=C2=A0=C2=A0+LOAD .* RW +0x1000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0+60 0x0+a0 R +0x20 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -52,6 +53,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +.tdata .dynamic .got * > -=C2=A0=C2=A0+04 +.dynamic * > -=C2=A0=C2=A0+05 +.tdata .tbss * > -+ +06 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset .* contains 4 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-s390/tlsbin_64.rd > -+++ binutils-2.24/ld/testsuite/ld-s390/tlsbin_64.rd > -@@ -36,6 +36,7 @@ There are [0-9]+ program headers, starting at offset [0-= 9]+ > -=C2=A0=C2=A0+LOAD .* RW +0x1000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x8 > -=C2=A0=C2=A0+TLS .* 0x0+60 0x0+a0 R +0x20 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -52,6 +53,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +.tdata .dynamic .got * > -=C2=A0=C2=A0+04 +.dynamic * > -=C2=A0=C2=A0+05 +.tdata .tbss * > -+ +06 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: > -=C2=A0=C2=A0+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-s390/tlspic.rd > -+++ binutils-2.24/ld/testsuite/ld-s390/tlspic.rd > -@@ -39,6 +39,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD .* RW +0x1000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0+60 0x0+80 R +0x20 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -46,6 +47,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.tdata .dynamic .got=C2=A0 > -=C2=A0=C2=A0+02 +.dynamic=C2=A0 > -=C2=A0=C2=A0+03 +.tdata .tbss=C2=A0 > -+ +04 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym.Value +Sym. Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-s390/tlspic_64.rd > -+++ binutils-2.24/ld/testsuite/ld-s390/tlspic_64.rd > -@@ -39,6 +39,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD .* RW +0x1000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x8 > -=C2=A0=C2=A0+TLS .* 0x0+60 0x0+80 R +0x20 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -46,6 +47,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.tdata .dynamic .got * > -=C2=A0=C2=A0+02 +.dynamic * > -=C2=A0=C2=A0+03 +.tdata .tbss * > -+ +04 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > -=C2=A0=C2=A0+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-sh/tlsbin-2.d > -+++ binutils-2.24/ld/testsuite/ld-sh/tlsbin-2.d > -@@ -44,6 +44,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections\.\.\. > -@@ -53,6 +54,7 @@ Program Headers: > -=C2=A0=C2=A0+03 +\.tdata \.dynamic \.got * > -=C2=A0=C2=A0+04 +\.dynamic * > -=C2=A0=C2=A0+05 +\.tdata \.tbss * > -+ +06 + > -=C2=A0 > - Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 4 entries: > -=C2=A0=C2=A0Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-sh/tlspic-2.d > -+++ binutils-2.24/ld/testsuite/ld-sh/tlspic-2.d > -@@ -32,7 +32,7 @@ Key to Flags: > -=C2=A0 > - Elf file type is DYN \(Shared object file\) > - Entry point 0x[0-9a-f]+ > --There are 4 program headers, starting at offset [0-9]+ > -+There are [0-9] program headers, starting at offset [0-9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align > -@@ -40,6 +40,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -=C2=A0=C2=A0+TLS .* 0x0+18 0x0+20 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections\.\.\. > -@@ -47,6 +48,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +\.tdata \.dynamic \.got * > -=C2=A0=C2=A0+02 +\.dynamic * > -=C2=A0=C2=A0+03 +\.tdata \.tbss * > -+ +04 + > -=C2=A0 > - Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 10 entrie= s: > -=C2=A0=C2=A0Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-sparc/gotop32.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/gotop32.rd > -@@ -31,6 +31,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+ 0x0+ 0x0+ 0x0+2000 0x0+2000 R E 0x10000 > -=C2=A0=C2=A0+LOAD +0x0+2000 0x0+12000 0x0+12000 0x0+2000 0x0+2000 RW +0x10= 000 > -=C2=A0=C2=A0+DYNAMIC +0x0+2000 0x0+12000 0x0+12000 0x0+70 0x0+70 RW +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/gotop64.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/gotop64.rd > -@@ -31,6 +31,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+ 0x0+ 0x0+ 0x0+2000 0x0+2000 R E 0x100000 > -=C2=A0=C2=A0+LOAD +0x0+2000 0x0+102000 0x0+102000 0x0+2000 0x0+2000 RW +0x= 100000 > -=C2=A0=C2=A0+DYNAMIC +0x0+2000 0x0+102000 0x0+102000 0x0+e0 0x0+e0 RW +0x8 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunbin32.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunbin32.rd > -@@ -30,13 +30,14 @@ There are [0-9]+ program headers, starting at offset [= 0- > 9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0+Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align > -- +PHDR +0x0+34 0x0+10034 0x0+10034 0x0+c0 0x0+c0 R E 0x4 > -- +INTERP +0x0+f4 0x0+100f4 0x0+100f4 0x0+11 0x0+11 R +0x1 > -+ +PHDR +0x0+34 0x0+10034 0x0+10034 (0x[0-9a-f]+) \1 R E 0x4 > -+ +INTERP +(0x[0-9a-f]+ ){3}0x0+11 0x0+11 R +0x1 > - .*Requesting program interpreter.* > -=C2=A0=C2=A0+LOAD .* R E 0x10000 > -=C2=A0=C2=A0+LOAD .* RW +0x10000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0+1060 0x0+10a0 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunbin64.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunbin64.rd > -@@ -30,13 +30,14 @@ There are [0-9]+ program headers, starting at offset [= 0- > 9]+ > -=C2=A0 > - Program Headers: > -=C2=A0=C2=A0+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align > -- +PHDR +0x0+40 0x0+100040 0x0+100040 0x0+150 0x0+150 R E 0x8 > -- +INTERP +0x0+190 0x0+100190 0x0+100190 0x0+19 0x0+19 R +0x1 > -+ +PHDR +0x0+40 0x0+100040 0x0+100040 (0x[0-9a-f]+) \1 R E 0x8 > -+ +INTERP +0x0+([0-9a-f]+) (0x0+10+\1) \2 0x0+19 0x0+19 R +0x1 > - .*Requesting program interpreter.* > -=C2=A0=C2=A0+LOAD .* R E 0x100000 > -=C2=A0=C2=A0+LOAD .* RW +0x100000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x8 > -=C2=A0=C2=A0+TLS .* 0x0+60 0x0+a0 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunnopic32.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunnopic32.rd > -@@ -32,6 +32,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD .* RW +0x10000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x4 > -=C2=A0=C2=A0+TLS .* 0x0+ 0x0+24 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 12 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunnopic64.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunnopic64.rd > -@@ -32,6 +32,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD .* RW +0x100000 > -=C2=A0=C2=A0+DYNAMIC .* RW +0x8 > -=C2=A0=C2=A0+TLS .* 0x0+ 0x0+24 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunpic32.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunpic32.rd > -@@ -36,6 +36,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+2000 0x0+12000 0x0+12000 0x0+184 0x0+184 RWE 0x10000 > -=C2=A0=C2=A0+DYNAMIC +0x0+2060 0x0+12060 0x0+12060 0x0+98 0x0+98 RW +0x4 > -=C2=A0=C2=A0+TLS +0x0+2000 0x0+12000 0x0+12000 0x0+60 0x0+80 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > ---- binutils-2.24/ld/testsuite/ld-sparc/tlssunpic64.rd > -+++ binutils-2.24/ld/testsuite/ld-sparc/tlssunpic64.rd > -@@ -36,6 +36,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+2000 0x0+102000 0x0+102000 0x0+3a0 0x0+3a0 RWE 0x10= 0000 > -=C2=A0=C2=A0+DYNAMIC +0x0+2060 0x0+102060 0x0+102060 0x0+130 0x0+130 RW +0= x8 > -=C2=A0=C2=A0+TLS +0x0+2000 0x0+102000 0x0+102000 0x0+60 0x0+80 R +0x4 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > - #... > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > ---- binutils-2.24/ld/testsuite/ld-x86-64/tlsgdesc.rd > -+++ binutils-2.24/ld/testsuite/ld-x86-64/tlsgdesc.rd > -@@ -36,12 +36,14 @@ Program Headers: > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+LOAD.* > -=C2=A0=C2=A0+DYNAMIC.* > -+ +PAX_FLAGS.* > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -=C2=A0=C2=A0+00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * > -=C2=A0=C2=A0+01 +.dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -+ +03 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: > -=C2=A0=C2=A0+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend > ---- binutils-2.24/ld/testsuite/ld-x86-64/tlspic.rd > -+++ binutils-2.24/ld/testsuite/ld-x86-64/tlspic.rd > -@@ -40,6 +40,7 @@ Program Headers: > -=C2=A0=C2=A0+LOAD +0x0+131a 0x0+20131a 0x0+20131a 0x0+246 0x0+246 RW +0x20= 0000 > -=C2=A0=C2=A0+DYNAMIC +0x0+1380 0x0+201380 0x0+201380 0x0+130 0x0+130 RW +0= x8 > -=C2=A0=C2=A0+TLS +0x0+131a 0x0+20131a 0x0+20131a 0x0+60 0x0+80 R +0x1 > -+ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] > -=C2=A0 > -=C2=A0=C2=A0Section to Segment mapping: > -=C2=A0=C2=A0+Segment Sections... > -@@ -47,6 +48,7 @@ Program Headers: > -=C2=A0=C2=A0+01 +.tdata .dynamic .got .got.plt * > -=C2=A0=C2=A0+02 +.dynamic * > -=C2=A0=C2=A0+03 +.tdata .tbss * > -+ +04 + > -=C2=A0 > - Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: > -=C2=A0=C2=A0+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend --===============7090201752194366060== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlc5K1h5QUFvSkVJQjU4UDl2a0FrSEtDQVAvakloK0xhS3FFTE5nZVVVTFlodVhmZWkK elg4Z2ZpekZnRXZaaVZNZ2NLVGFpakRwMFhGME9qZTRLNjIxZVdib01OeFJ6RXNSY3d5dmlqMDdS OUh0NUZ5QQpvTEVZY0p6dE9neitDU3lKSmRNbXBobFdOVktXMmRzb3NyMGJmOGQ0RTA3NGRGQXZR T1Y3UVJNUUxiaW9Xc2xyCkxSVjRuRU0vbUVHUHo3S1pQT1BxTXRhRmxWTEFqNEV5UjNPeDdEVUk2 czBrempLZ2dYN3dwVGpISGZQVnRlbU4KMEgzNkJwT20rVFh1dVhKUGdaMlBpTHJHRFgxR25OMG0w aHdValgwVmZQNVpjRWl2YzNSSEhBZVBrK2p3dnhCdwpBR2lvTkp5R2R5QTRodXdFekMrTkxNOFFD MTdLY1BKbGFKQTVVUHI5QVFiMnQvTTJwNGdRdzlqYThkbjk0N040CktXZ29ZMUFIV1pFTlpsZFhy U2QyaXE1T3dydEFCbTlWaFlxaS94bmJrUC8wTmtCNDl3S1o5dys0NmFjK0xLN2IKbWlicXF1Tnpn d2pUSjN5ZTBCeTJPeXU0R1E4UzU0K1pEWEUyYUI3dEdjbkdYaFZqMlh1S2M0dHlWME9hUlkyMwpV aUVMWkZ6dnRUeFo4MUZxZU5UYjQwOVBxaGtxNldaWDlYb3Roai9xK3F6d1dTeEZZL1AvV25Kejh2 aFlnbjdxCm5QZDg3Y2hTQ0J5UmVNZ1M0QWpjQy9oYTlUZUNlVzNuUzltOGNPY09GRTd4bDJZL09E WTdlUGNOUmU3OEd1RUwKU3FnK1FLeGhzMGNRWVZBOEM0aGgzVGVEdFZISUhNa0tCU0pzb01sTkww NDdtbjRITEp0eVVGZWdoSEpsdk9TRApiVnkzQkczWmVIRDlETHAwT1ZZbwo9YjhMSwotLS0tLUVO RCBQR1AgU0lHTkFUVVJFLS0tLS0K --===============7090201752194366060==--