Module Name: src Committed By: bouyer Date: Tue Aug 29 09:10:36 UTC 2017
Modified Files: src/external/gpl3/binutils/dist/bfd [netbsd-8]: elfxx-mips.c elfxx-sparc.c src/external/gpl3/binutils/dist/gas/config [netbsd-8]: tc-mips.h src/external/gpl3/gcc/dist/gcc [netbsd-8]: configure configure.ac varasm.c src/external/gpl3/gcc/dist/gcc/config/arm [netbsd-8]: arm.h src/external/gpl3/gcc/dist/gcc/config/mips [netbsd-8]: netbsd.h src/lib/csu/arch/mips [netbsd-8]: crtend.S src/lib/csu/common [netbsd-8]: crtbegin.c src/share/mk [netbsd-8]: bsd.own.mk Log Message: Pull up following revision(s) (requested by joerg in ticket #240): external/gpl3/binutils/dist/gas/config/tc-mips.h: revision 1.7 external/gpl3/gcc/dist/gcc/configure: revision 1.16 external/gpl3/gcc/dist/gcc/varasm.c: revision 1.2 external/gpl3/gcc/dist/gcc/varasm.c: revision 1.3 external/gpl3/gcc/dist/gcc/config/mips/netbsd.h: revision 1.10 lib/csu/arch/mips/crtend.S: revision 1.4 share/mk/bsd.own.mk: revision 1.1011 lib/csu/common/crtbegin.c: revision 1.14 external/gpl3/binutils/dist/bfd/elfxx-mips.c: revision 1.11 external/gpl3/gcc/dist/gcc/configure.ac: revision 1.14 external/gpl3/binutils/dist/bfd/elfxx-sparc.c: revision 1.12 external/gpl3/gcc/dist/gcc/config/arm/arm.h: revision 1.14 Create references as absolute pointers internally for .cfi*. Do not warn for anonymous relocations in read-only .eh_frame, they will be turned into relative entries afterwards. A const declaration with explicit section attribute should create a read-only section, whether it is initialized or not. Use read-only .eh_frame. Detect advance_loc support with readelf, not objdump. The latter is broken in some situations before binutils 2.28. .eh_frame should be read-only on MIPS too. Build PIC libs on MIPS and PPC64. While the normal calling convention is position-independent, real PIC defaults to Global Dynamic as TLS model, while non-PIC and PIE code can use more restrictive models like Initial Exec. This is most visible with the thread_local destructor code now using TLS in libc as it would be clobbered by any other shared library with TLS due to static offset assignment by ld. Fix encoding of LSDA entries. .eh_frame references in non-PIC mode can use plain pointers. For PIC, any references to global objects must be indirect, but the .eh_frame entries themselve should be pcrel. One more missing check for DECL_INITIAL being non-NULL. TLS relocations for PIE and non-PIE main executable work the same, so apply the same relaxation rules and the same static binding rules. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.6.1 \ src/external/gpl3/binutils/dist/bfd/elfxx-mips.c cvs rdiff -u -r1.11 -r1.11.6.1 \ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c cvs rdiff -u -r1.6 -r1.6.6.1 \ src/external/gpl3/binutils/dist/gas/config/tc-mips.h cvs rdiff -u -r1.15 -r1.15.8.1 src/external/gpl3/gcc/dist/gcc/configure cvs rdiff -u -r1.13 -r1.13.8.1 src/external/gpl3/gcc/dist/gcc/configure.ac cvs rdiff -u -r1.1.1.6 -r1.1.1.6.8.1 src/external/gpl3/gcc/dist/gcc/varasm.c cvs rdiff -u -r1.13 -r1.13.8.1 \ src/external/gpl3/gcc/dist/gcc/config/arm/arm.h cvs rdiff -u -r1.9 -r1.9.4.1 \ src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h cvs rdiff -u -r1.3 -r1.3.22.1 src/lib/csu/arch/mips/crtend.S cvs rdiff -u -r1.13 -r1.13.8.1 src/lib/csu/common/crtbegin.c cvs rdiff -u -r1.1009.2.1 -r1.1009.2.2 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.