CVS commit: src/lib/csu/common

2018-12-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 28 20:12:35 UTC 2018 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Re-do previous (always make available preinit/initarray/finiarray), with less disruption. To generate a diff of this commit: cvs

CVS commit: src/lib/csu/common

2018-12-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 28 13:53:17 UTC 2018 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Avoid duplicate definitions on arm (reported by kre@) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/lib/csu/common

2018-12-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 27 19:32:32 UTC 2018 Modified Files: src/lib/csu/common: crt0-common.c crtbegin.c Log Message: Allow both array and non-array constructors for transition. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/csu/common

2018-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 13 01:00:17 UTC 2018 Modified Files: src/lib/csu/common: crt0-common.c Log Message: i386/amd64 build fix. Fix "possibly used uninitialized" from gcc. These changes should make no practical effect - but because external

CVS commit: src/lib/csu/common

2018-07-12 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Jul 12 21:36:46 UTC 2018 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Add static PIE support for i386 and AMD64. The basic glue works with mininal changes for other architectures as well, but those require

CVS commit: src/lib/csu/common

2018-07-12 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Jul 12 21:35:12 UTC 2018 Modified Files: src/lib/csu/common: crt0-common.c Log Message: _DYNAMIC is present for static PIE as well, so loosen rtld check. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/csu/common

2016-06-29 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Jun 29 11:16:47 UTC 2016 Modified Files: src/lib/csu/common: crtbegin.c Log Message: For some mind-boogling reasons, GCC 5.4 believes that a weak reference cannot alias with an extern. While this is clearly bogus, avoid yet

CVS commit: src/lib/csu/common

2016-06-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jun 7 12:07:35 UTC 2016 Modified Files: src/lib/csu/common: crt0-common.c crtbegin.c Log Message: Fun fact of the weak: a weak reference doesn't have visibility attached. As such, reorganize the start/end references to use a

CVS commit: src/lib/csu/common

2016-06-04 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Jun 5 00:43:39 UTC 2016 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Make older GCC and Clang happy and use weak references to the elements, not declared as arrays. To generate a diff of this commit: cvs

CVS commit: src/lib/csu/common

2016-06-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Jun 1 21:21:55 UTC 2016 Modified Files: src/lib/csu/common: crtbegin.c Log Message: PR toolchain/51121: __CTOR_LIST__ and __CTOR_LIST_END__ are logically the same object, but due to the start marker, the former has to be

CVS commit: src/lib/csu/common

2016-06-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Jun 1 21:24:55 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Revert -O1 hack for GCC 5.3, replaced by workaround in the code. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/lib/csu/common

2016-05-10 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue May 10 10:23:09 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: We need the -O1 hack (for gcc 5.3) for crtbegin.c as well. Works around PR toolchain/51121. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/csu/common

2016-05-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 1 08:33:14 UTC 2016 Modified Files: src/lib/csu/common: compident.S Log Message: Change section flags to "MG" and put it into comdat. Makes new binutils happy. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/lib/csu/common

2016-05-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 1 07:25:46 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Revert previous (fallout is more subtle but there). Rework the conditionon so it depends on .S existence instead of an arch list. To

CVS commit: src/lib/csu/common

2016-04-30 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Apr 30 13:12:13 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Gcc 5.3 seems to do fine compiling this for sparc64, so exclude it from the -O1 hack To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/csu/common

2016-03-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 29 21:23:05 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: crt0-common.c is miscompiled by gcc 5.3 on evbarm with -O2 so use -O1. Do this for all non-x86 arches. To generate a diff of this

CVS commit: src/lib/csu/common

2016-03-26 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Mar 27 00:03:06 UTC 2016 Modified Files: src/lib/csu/common: Makefile.inc Log Message: add a hack for GCC 5 and non-x86 platforms: build crtbeginS.o with -O1 as GCC tries to be very smart with the __DTOR_LIST__ as it believes

CVS commit: src/lib/csu/common

2014-05-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed May 14 14:59:14 UTC 2014 Modified Files: src/lib/csu/common: compident.S sysident.S Log Message: Ensure notes are properly padded to 32bit length. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/csu/common

2014-02-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Feb 26 14:54:51 UTC 2014 Modified Files: src/lib/csu/common: compident.S Log Message: Make the .note section mergable and set proper item length. XXX seems to be impossible to do that with gas w/o causing a (bogus) warning -

CVS commit: src/lib/csu/common

2014-01-29 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jan 29 20:57:49 UTC 2014 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Also make sure the __CTOR_LIST__ is just aligned to a pointer boundary. By default, mips N32 will aligned to a 64-bit boundary not 32-bit

CVS commit: src/lib/csu/common

2014-01-10 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jan 11 00:18:15 UTC 2014 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Using ${LD} -x screws up BE arm. Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead so the $a/$t/$d symbols are preserved. To generate a diff of

CVS commit: src/lib/csu/common

2013-12-10 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Dec 11 06:55:25 UTC 2013 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Make sure the __CTOR_LIST__ is just aligned to a pointer boundary. By default, mips N32 will aligned to a 64-bit boundary not 32-bit which

CVS commit: src/lib/csu/common

2013-11-29 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Nov 29 23:00:49 UTC 2013 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Include crtbegin.h first to make it possible to build with the stricter attribute consistency checks in clang. To generate a diff of this

CVS commit: src/lib/csu/common

2013-11-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Nov 17 11:16:09 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Simplify previous by using CSU_MACHINE_ARCH. Hint from Takeshi Nakayama. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/lib/csu/common

2013-11-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Nov 16 10:50:43 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: We do not want to build the code model markes when creating the 32bit compat libs for sparc64 To generate a diff of this commit: cvs

CVS commit: src/lib/csu/common

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 10:24:27 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Explicitly depend on sys/param.h to pick up __NetBSD_Version changes. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/lib/csu/common

2013-09-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Sep 18 22:53:39 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Fix previous: use PICFLAGS for crtbeginS.o Should unbreak sh3 builds. XXX: PICFLAGS is defined in bsd.lib.mk which lib/csu does not use. For

CVS commit: src/lib/csu/common

2013-09-10 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Sep 10 17:23:55 UTC 2013 Modified Files: src/lib/csu/common: sysident_assym.cf Log Message: MARCH note is conditional To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/csu/common/sysident_assym.cf Please

CVS commit: src/lib/csu/common

2013-08-26 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Aug 26 14:20:53 UTC 2013 Modified Files: src/lib/csu/common: crtbegin.c Log Message: MIPS wants a read/write eh_frame. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/csu/common/crtbegin.c Please note

CVS commit: src/lib/csu/common

2013-08-19 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Aug 19 22:15:13 UTC 2013 Modified Files: src/lib/csu/common: crtbegin.c Log Message: Put the ctors code in .text.startup and dtors code in .text.exit To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/csu/common

2013-07-18 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Jul 18 18:43:56 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Only supplie -fPIE to crtbegin.c if MKPIC is yes. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/lib/csu/common

2013-07-04 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Jul 5 02:06:49 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Only install crtbeginS.o, crtbeginT.o and crtendS.o when MKPIC=yes. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/lib/csu/common

2013-06-26 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Jun 27 03:37:21 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Add -fPIC to compile of crtbeginS.o To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/csu/common/Makefile.inc Please

CVS commit: src/lib/csu/common

2013-06-25 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jun 25 07:18:02 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Reorder to avoid !exists Add a crtbegin.h dependency To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/csu/common

2013-06-21 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jun 22 02:21:58 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Allow crtbegin to be a C file. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/csu/common/Makefile.inc Please note

CVS commit: src/lib/csu/common

2013-01-31 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Jan 31 22:24:25 UTC 2013 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Add support for PREINIT_ARRAY To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/csu/common/crt0-common.c Please note

CVS commit: src/lib/csu/common

2013-01-28 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Jan 28 16:56:39 UTC 2013 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Use __weakref_visible (from joerg@) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/csu/common/crt0-common.c

CVS commit: src/lib/csu/common

2013-01-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Jan 28 06:17:57 UTC 2013 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Make with work with gcc 4.5 or clang. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/csu/common/crt0-common.c

CVS commit: src/lib/csu/common

2013-01-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jan 22 22:57:37 UTC 2013 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Fix static weak (to extern weak) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/csu/common/crt0-common.c Please

CVS commit: src/lib/csu/common

2012-08-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Aug 13 02:15:36 UTC 2012 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Add support for init_array/fini_array (conditionalized on HAVE_INITFINI_ARRAY). [This is needed for ARM EABI.] To generate a diff of this

CVS commit: src/lib/csu/common

2012-01-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 31 19:58:22 UTC 2012 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Use -DPIC to compile crtbeginS.o since that's what machine/asm.h headers check. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/csu/common

2012-01-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 31 20:08:28 UTC 2012 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Move crt0.S in front of crt0-common.c when building crt0.o and gcrt0.o. Reading disassembly is easier when the asm crt0.S trampoline is at

CVS commit: src/lib/csu/common

2011-06-30 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Jun 30 20:07:36 UTC 2011 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Mark ___start as .hidden (for MKPIE=yes executables). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/csu/common

2011-02-18 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Feb 18 23:37:36 UTC 2011 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Allow building with the changed weakref semantic in GCC 4.2 and clang. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/csu/common

2011-02-07 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 8 02:03:13 UTC 2011 Modified Files: src/lib/csu/common: crt0-common.c Log Message: Distinguish between a corrupt obj pointer and a null obj pointer. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/csu/common

2010-12-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Dec 7 19:51:03 UTC 2010 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Build assembler sources with assembler compile rules. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2