CVS commit: src/lib/csu

2010-07-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul  5 21:27:56 UTC 2010

Modified Files:
src/lib/csu: Makefile
Removed Files:
src/lib/csu/arm32: Makefile c++rt0.c crt0.c
src/lib/csu/c++: Makefile c++rt0.c
src/lib/csu/common_aout: Makefile.inc common.c common.h
src/lib/csu/i386: Makefile crt0.c
src/lib/csu/m68k: Makefile crt0.c
src/lib/csu/sh3: Makefile crt0.c
src/lib/csu/sparc: Makefile crt0.c
src/lib/csu/vax: Makefile crt0.c

Log Message:
delete all the a.out csu code.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/csu/Makefile
cvs rdiff -u -r1.14 -r0 src/lib/csu/arm32/Makefile
cvs rdiff -u -r1.4 -r0 src/lib/csu/arm32/c++rt0.c
cvs rdiff -u -r1.13 -r0 src/lib/csu/arm32/crt0.c
cvs rdiff -u -r1.17 -r0 src/lib/csu/c++/Makefile
cvs rdiff -u -r1.11 -r0 src/lib/csu/c++/c++rt0.c
cvs rdiff -u -r1.10 -r0 src/lib/csu/common_aout/Makefile.inc
cvs rdiff -u -r1.20 -r0 src/lib/csu/common_aout/common.c
cvs rdiff -u -r1.15 -r0 src/lib/csu/common_aout/common.h
cvs rdiff -u -r1.26 -r0 src/lib/csu/i386/Makefile
cvs rdiff -u -r1.35 -r0 src/lib/csu/i386/crt0.c
cvs rdiff -u -r1.18 -r0 src/lib/csu/m68k/Makefile
cvs rdiff -u -r1.24 -r0 src/lib/csu/m68k/crt0.c
cvs rdiff -u -r1.1 -r0 src/lib/csu/sh3/Makefile
cvs rdiff -u -r1.3 -r0 src/lib/csu/sh3/crt0.c
cvs rdiff -u -r1.19 -r0 src/lib/csu/sparc/Makefile
cvs rdiff -u -r1.29 -r0 src/lib/csu/sparc/crt0.c
cvs rdiff -u -r1.11 -r0 src/lib/csu/vax/Makefile
cvs rdiff -u -r1.17 -r0 src/lib/csu/vax/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2010-08-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Aug  7 18:01:35 UTC 2010

Modified Files:
src/lib/csu: Makefile
Added Files:
src/lib/csu: README
src/lib/csu/arch/arm: Makefile.inc crt0.S crti.S crtn.S
src/lib/csu/arch/i386: Makefile.inc crt0.S crtbegin.S crtend.S crti.S
crtn.S
src/lib/csu/arch/m68k: Makefile.inc crt0.S crti.S crtn.S
src/lib/csu/arch/sh3: Makefile.inc crt0.S crti.S crtn.S
src/lib/csu/arch/sparc: Makefile.inc crt0.S crti.S crtn.S
src/lib/csu/arch/vax: Makefile.inc crt0.S crti.S crtn.S
src/lib/csu/arch/x86_64: Makefile.inc crt0.S crtbegin.S crtend.S crti.S
crtn.S
src/lib/csu/common: Makefile.inc crt0-common.c sysident.S
sysident_assym.cf
Removed Files:
src/lib/csu/i386_elf: Makefile crt0.c dot_init.h
src/lib/csu/x86_64: Makefile crt0.c dot_init.h

Log Message:
Switch i386 and x86_64 to the new CRT layout. The crt0.c body is shared
between all platforms and a small assembler stub in crt0.S is used for
setting up the proper stack and whatever else MD needs.

Extract crti.S and crtn. from the old dot_init.h files. Prepare other
platforms that use the 6-argument form of __(_)start for this.

Rewrite the crtbegin and crtend modules in assembler to make them
compiler independent. Document the interface in README.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/csu/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/csu/README
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/arm/Makefile.inc \
src/lib/csu/arch/arm/crt0.S src/lib/csu/arch/arm/crti.S \
src/lib/csu/arch/arm/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/i386/Makefile.inc \
src/lib/csu/arch/i386/crt0.S src/lib/csu/arch/i386/crtbegin.S \
src/lib/csu/arch/i386/crtend.S src/lib/csu/arch/i386/crti.S \
src/lib/csu/arch/i386/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/m68k/Makefile.inc \
src/lib/csu/arch/m68k/crt0.S src/lib/csu/arch/m68k/crti.S \
src/lib/csu/arch/m68k/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/sh3/Makefile.inc \
src/lib/csu/arch/sh3/crt0.S src/lib/csu/arch/sh3/crti.S \
src/lib/csu/arch/sh3/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/sparc/Makefile.inc \
src/lib/csu/arch/sparc/crt0.S src/lib/csu/arch/sparc/crti.S \
src/lib/csu/arch/sparc/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/vax/Makefile.inc \
src/lib/csu/arch/vax/crt0.S src/lib/csu/arch/vax/crti.S \
src/lib/csu/arch/vax/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/x86_64/Makefile.inc \
src/lib/csu/arch/x86_64/crt0.S src/lib/csu/arch/x86_64/crtbegin.S \
src/lib/csu/arch/x86_64/crtend.S src/lib/csu/arch/x86_64/crti.S \
src/lib/csu/arch/x86_64/crtn.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/common/Makefile.inc \
src/lib/csu/common/crt0-common.c src/lib/csu/common/sysident.S \
src/lib/csu/common/sysident_assym.cf
cvs rdiff -u -r1.9 -r0 src/lib/csu/i386_elf/Makefile
cvs rdiff -u -r1.17 -r0 src/lib/csu/i386_elf/crt0.c
cvs rdiff -u -r1.8 -r0 src/lib/csu/i386_elf/dot_init.h
cvs rdiff -u -r1.5 -r0 src/lib/csu/x86_64/Makefile src/lib/csu/x86_64/crt0.c
cvs rdiff -u -r1.7 -r0 src/lib/csu/x86_64/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2011-01-31 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Mon Jan 31 17:54:20 UTC 2011

Modified Files:
src/lib/csu: Makefile
src/lib/csu/common: Makefile.inc

Log Message:
use of .PARSEDIR just doesn't work with .OBJDIR, replace with .CURDIR


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/csu/Makefile
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2011-06-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jun 30 19:48:43 UTC 2011

Modified Files:
src/lib/csu/arch/i386: crt0.S
src/lib/csu/arch/x86_64: crt0.S
src/lib/csu/common: crt0-common.c

Log Message:
Assert that ps_strings is valid. Use it to drop the first three
arguments to ___start to make the assembler callers simpler.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/i386/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/x86_64/crt0.S
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2012-06-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jun 16 18:19:39 UTC 2012

Modified Files:
src/lib/csu: Makefile

Log Message:
Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
MACHINE_ARCH.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2012-06-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jun 16 19:19:14 UTC 2012

Modified Files:
src/lib/csu: Makefile

Log Message:
Unbreak compat.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-04-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Apr 28 06:09:52 UTC 2013

Modified Files:
src/lib/csu: Makefile

Log Message:
Make all earm variants use earm.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-06-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jun 22 02:37:09 UTC 2013

Modified Files:
src/lib/csu/common: Makefile.inc
Added Files:
src/lib/csu/arch/mips: Makefile.inc crt0.S crtbegin.h crtend.S crti.S
crtn.S
src/lib/csu/common: crtbegin.c

Log Message:
Add a common crtbegin.c file and use a machine dependent crtbegin.h to
fill in .init/.fini.
Add mips support for USE_COMPILERCRTSTUFF=no (compiled only)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/mips/Makefile.inc \
src/lib/csu/arch/mips/crt0.S src/lib/csu/arch/mips/crtbegin.h \
src/lib/csu/arch/mips/crtend.S src/lib/csu/arch/mips/crti.S \
src/lib/csu/arch/mips/crtn.S
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/common/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-06-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Jun 24 14:27:35 UTC 2013

Modified Files:
src/lib/csu: README

Log Message:
Add some more clues on what is needed to add a new platform.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-06-24 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun 24 14:49:13 UTC 2013

Modified Files:
src/lib/csu/arch/arm: crtbegin.S
src/lib/csu/common: crtbegin.c

Log Message:
Make dwarf_eh_object is 8 words long


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/arch/arm/crtbegin.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-06-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jun 27 21:24:39 UTC 2013

Modified Files:
src/lib/csu/arch/arm: Makefile.inc
src/lib/csu/arch/earm: Makefile.inc
src/lib/csu/arch/powerpc: Makefile.inc crtend.S
src/lib/csu/common: Makefile.inc crtbegin.c
Added Files:
src/lib/csu/arch/arm: crtbegin.h
src/lib/csu/arch/earm: crtbegin.h
src/lib/csu/arch/powerpc: crtbegin.h
src/lib/csu/arch/vax: crtbegin.h
Removed Files:
src/lib/csu/arch/arm: crtbegin.S
src/lib/csu/arch/earm: crtbegin.S
src/lib/csu/arch/powerpc: crtbegin.S

Log Message:
Switch arm, earm, powerpc to use crtbegin.c
Use -fpie for crtbegin.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/arch/arm/Makefile.inc
cvs rdiff -u -r1.6 -r0 src/lib/csu/arch/arm/crtbegin.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/arm/crtbegin.h
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/earm/Makefile.inc
cvs rdiff -u -r1.4 -r0 src/lib/csu/arch/earm/crtbegin.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/earm/crtbegin.h
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/powerpc/Makefile.inc \
src/lib/csu/arch/powerpc/crtend.S
cvs rdiff -u -r1.2 -r0 src/lib/csu/arch/powerpc/crtbegin.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/powerpc/crtbegin.h
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/vax/crtbegin.h
cvs rdiff -u -r1.11 -r1.12 src/lib/csu/common/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 10 09:32:49 UTC 2013

Modified Files:
src/lib/csu: README

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 10 09:41:16 UTC 2013

Modified Files:
src/lib/csu: README

Log Message:
Try to also document the variant using common C code - Matt, please review!


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-07-13 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jul 13 09:48:26 UTC 2013

Modified Files:
src/lib/csu: README

Log Message:
crt0 actually calls ___start


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-08-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug  5 13:38:35 UTC 2013

Modified Files:
src/lib/csu/common: Makefile.inc
Added Files:
src/lib/csu/arch/alpha: crtfm.c

Log Message:
Alpha needs crtfm.o for USE_COMPILERCRTSTUFF=no


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/alpha/crtfm.c
cvs rdiff -u -r1.15 -r1.16 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2017-07-18 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Jul 18 14:34:19 UTC 2017

Modified Files:
src/lib/csu/arch/mips: crtend.S
src/lib/csu/common: crtbegin.c

Log Message:
.eh_frame should be read-only on MIPS too.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/mips/crtend.S
cvs rdiff -u -r1.13 -r1.14 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2013-09-10 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Sep 10 16:45:33 UTC 2013

Modified Files:
src/lib/csu: Makefile
src/lib/csu/arch/earm: Makefile.inc
src/lib/csu/common: Makefile.inc sysident.S sysident_assym.cf

Log Message:
Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for
which a program was compiled.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/csu/Makefile
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/earm/Makefile.inc
cvs rdiff -u -r1.16 -r1.17 src/lib/csu/common/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/common/sysident.S \
src/lib/csu/common/sysident_assym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2014-01-31 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jan 31 11:58:34 UTC 2014

Removed Files:
src/lib/csu/alpha: Makefile crt0.c crtfm.c dot_init.h
src/lib/csu/mips: Makefile crt0.c dot_init.h
src/lib/csu/powerpc: Makefile crt0.c dot_init.h
src/lib/csu/vax_elf: Makefile crt0.c dot_init.h

Log Message:
Remove old compiler based crt stuff for alpha mips powerpc and vax


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r0 src/lib/csu/alpha/Makefile
cvs rdiff -u -r1.27 -r0 src/lib/csu/alpha/crt0.c
cvs rdiff -u -r1.2 -r0 src/lib/csu/alpha/crtfm.c
cvs rdiff -u -r1.8 -r0 src/lib/csu/alpha/dot_init.h
cvs rdiff -u -r1.24 -r0 src/lib/csu/mips/Makefile
cvs rdiff -u -r1.22 -r0 src/lib/csu/mips/crt0.c
cvs rdiff -u -r1.10 -r0 src/lib/csu/mips/dot_init.h
cvs rdiff -u -r1.13 -r0 src/lib/csu/powerpc/Makefile
cvs rdiff -u -r1.30 -r0 src/lib/csu/powerpc/crt0.c
cvs rdiff -u -r1.8 -r0 src/lib/csu/powerpc/dot_init.h
cvs rdiff -u -r1.3 -r0 src/lib/csu/vax_elf/Makefile
cvs rdiff -u -r1.12 -r0 src/lib/csu/vax_elf/crt0.c
cvs rdiff -u -r1.8 -r0 src/lib/csu/vax_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2014-02-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb  1 11:59:00 UTC 2014

Removed Files:
src/lib/csu/sparc64: Makefile crt0.c
src/lib/csu/sparc_elf: Makefile crt0.c dot_init.h

Log Message:
sparc and sparc64 have moved to new world order, remove legacy files.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r0 src/lib/csu/sparc64/Makefile
cvs rdiff -u -r1.27 -r0 src/lib/csu/sparc64/crt0.c
cvs rdiff -u -r1.7 -r0 src/lib/csu/sparc_elf/Makefile
cvs rdiff -u -r1.15 -r0 src/lib/csu/sparc_elf/crt0.c
cvs rdiff -u -r1.9 -r0 src/lib/csu/sparc_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2014-04-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Apr 22 13:23:36 UTC 2014

Modified Files:
src/lib/csu: README
Removed Files:
src/lib/csu/common_elf: Makefile.inc common.c common.h crti.c crtn.c
dot_init.h dwarf2_eh.h
src/lib/csu/ia64: Makefile crt0.c dot_init.h
src/lib/csu/m68k_elf: Makefile crt0.c dot_init.h

Log Message:
Retire USE_COMPILERCRTSTUFF=yes.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/README
cvs rdiff -u -r1.35 -r0 src/lib/csu/common_elf/Makefile.inc
cvs rdiff -u -r1.17 -r0 src/lib/csu/common_elf/common.c
cvs rdiff -u -r1.16 -r0 src/lib/csu/common_elf/common.h
cvs rdiff -u -r1.6 -r0 src/lib/csu/common_elf/crti.c
cvs rdiff -u -r1.3 -r0 src/lib/csu/common_elf/crtn.c \
src/lib/csu/common_elf/dot_init.h src/lib/csu/common_elf/dwarf2_eh.h
cvs rdiff -u -r1.2 -r0 src/lib/csu/ia64/Makefile
cvs rdiff -u -r1.4 -r0 src/lib/csu/ia64/crt0.c
cvs rdiff -u -r1.6 -r0 src/lib/csu/ia64/dot_init.h
cvs rdiff -u -r1.7 -r0 src/lib/csu/m68k_elf/Makefile
cvs rdiff -u -r1.13 -r0 src/lib/csu/m68k_elf/crt0.c
cvs rdiff -u -r1.6 -r0 src/lib/csu/m68k_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2018-06-16 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jun 16 18:58:00 UTC 2018

Modified Files:
src/lib/csu: Makefile

Log Message:
Disable MKSANITIZER in lib/csu

These low-level libraries are expected to be not touched by a sanitizer.
Every libc program not using sanitizers cannot work with sanitized csu.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2018-07-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jul 26 01:25:23 UTC 2018

Modified Files:
src/lib/csu: Makefile

Log Message:
Specify NOLIBCSANITIZER in lib/csu

The low-level libraries in csu are used in non-sanitized code.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2018-11-26 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Nov 26 17:37:46 UTC 2018

Modified Files:
src/lib/csu/arch/aarch64: crt0.S
src/lib/csu/arch/alpha: crt0.S
src/lib/csu/arch/arm: crt0.S
src/lib/csu/arch/earm: crt0.S
src/lib/csu/arch/hppa: crt0.S
src/lib/csu/arch/i386: crt0.S
src/lib/csu/arch/ia64: crt0.S
src/lib/csu/arch/m68k: crt0.S
src/lib/csu/arch/mips: crt0.S
src/lib/csu/arch/or1k: crt0.S
src/lib/csu/arch/powerpc: crt0.S
src/lib/csu/arch/riscv: crt0.S
src/lib/csu/arch/sh3: crt0.S
src/lib/csu/arch/sparc: crt0.S
src/lib/csu/arch/sparc64: crt0.S
src/lib/csu/arch/vax: crt0.S
src/lib/csu/arch/x86_64: crt0.S
src/lib/csu/common: Makefile.inc crt0-common.c

Log Message:
Do not pass the main object handle from the assembler startup stub to
the common ___start routine. It's only used for a pointless magic
version check. Thanks to martin@ for testing various architectures.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/aarch64/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/alpha/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/arm/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/earm/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/hppa/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/i386/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/ia64/crt0.S
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/arch/m68k/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/mips/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/or1k/crt0.S
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/arch/powerpc/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/riscv/crt0.S
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/arch/sh3/crt0.S
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/sparc/crt0.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sparc64/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/vax/crt0.S
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/x86_64/crt0.S
cvs rdiff -u -r1.32 -r1.33 src/lib/csu/common/Makefile.inc
cvs rdiff -u -r1.19 -r1.20 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2018-12-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec 27 18:57:15 UTC 2018

Modified Files:
src/lib/csu/arch/aarch64: Makefile.inc
src/lib/csu/arch/arm: Makefile.inc
src/lib/csu/arch/earm: Makefile.inc
src/lib/csu/arch/or1k: Makefile.inc
src/lib/csu/arch/riscv: Makefile.inc
src/lib/csu/common: Makefile.inc

Log Message:
Enable initfini array support for everyone.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/aarch64/Makefile.inc
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/arch/arm/Makefile.inc
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/earm/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/or1k/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/riscv/Makefile.inc
cvs rdiff -u -r1.33 -r1.34 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2018-12-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec 28 18:17:11 UTC 2018

Modified Files:
src/lib/csu/arch/aarch64: Makefile.inc
src/lib/csu/arch/arm: Makefile.inc
src/lib/csu/arch/earm: Makefile.inc
src/lib/csu/arch/or1k: Makefile.inc
src/lib/csu/arch/riscv: Makefile.inc
src/lib/csu/common: Makefile.inc crt0-common.c crtbegin.c

Log Message:
Undo previous; breaks macppc/m68k (at least)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/aarch64/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/arch/arm/Makefile.inc
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/arch/earm/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/or1k/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/riscv/Makefile.inc
cvs rdiff -u -r1.34 -r1.35 src/lib/csu/common/Makefile.inc
cvs rdiff -u -r1.21 -r1.22 src/lib/csu/common/crt0-common.c
cvs rdiff -u -r1.16 -r1.17 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu

2019-01-26 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 27 04:35:25 UTC 2019

Modified Files:
src/lib/csu: Makefile

Log Message:
fix duplicated chunk from merge


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/csu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 it knows the size of the array at
compile time (which is not true until link time).  on SPARC and
MIPS, the result was emitting a call to 0.

technically, i believe that GCC isn't "wrong" to make this choice,
as the array is declared with a well-known initialiser size in the
crtbegin.c compilation unit, and we have noticed that the libgcc
version of this code has some hacks added, most likely to avoid
being bitten by this optimisation.

this makes sshd work for me on earm and sparc with GCC 5.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 -r1.28 -r1.29 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 -r1.4 src/lib/csu/common/compident.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 -u -r1.30 -r1.31 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 declared as array of fixed
size. Newer GCC versions take the liberty of exploiting the UB of
accessing global objects past the end to unconditionally load zero
values in that case. Two fixes are possible:
(1) Pruning via inline assembler as done by GCC's own CRT copy.
(2) Pruning via weak references as done for linker sets.
Since the second part is known and required to work anyway, prefer this
approach. In theory, the labels could be replaced completely, except
that GNU as doesn't provide start/end symbols for sections containing
dots.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 rdiff -u -r1.10 -r1.11 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 weak reference
only, if we use it to remove size knowledge. Otherwise use weak
external declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/csu/common/crt0-common.c
cvs rdiff -u -r1.11 -r1.12 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
another alias handling bug and use strong aliases. It's actually
slightly simpler, too.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/common_elf

2010-08-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Aug  7 18:06:59 UTC 2010

Removed Files:
src/lib/csu/common_elf: crtbegin.c crtbeginS.c crtend.c crtendS.c

Log Message:
Retire old crtbegin/crtend implementation. It is not compatible with the
expectations of modern C++


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r0 src/lib/csu/common_elf/crtbegin.c
cvs rdiff -u -r1.1 -r0 src/lib/csu/common_elf/crtbeginS.c \
src/lib/csu/common_elf/crtendS.c
cvs rdiff -u -r1.12 -r0 src/lib/csu/common_elf/crtend.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/mips

2011-01-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jan 23 06:25:58 UTC 2011

Modified Files:
src/lib/csu/mips: crt0.c

Log Message:
Use uintptr_t instead of u_long.
When fetching argc use off the stack, use *(long *) instead of *(int *)
because on mips64 BE system, that int deference will only fetch 0.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/csu/mips/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/hppa

2011-02-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 23 10:26:09 UTC 2011

Modified Files:
src/lib/csu/hppa: crt0.c

Log Message:
Remove old hack for broken binutils.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/hppa/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/powerpc

2011-02-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 26 17:11:23 UTC 2011

Modified Files:
src/lib/csu/powerpc: crt0.c

Log Message:
When loading r13 and r2 with _SDA_BASE_ and _SDA2_BASE, do so in a PIC
manner.  With this change, simple programs can now run with MKPIE=yes


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/csu/powerpc/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/powerpc

2011-03-11 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Mar 12 07:56:36 UTC 2011

Modified Files:
src/lib/csu/powerpc: crt0.c

Log Message:
Don't initialize %r2 for SDA2_BASE anymore.  It's needed for TLS.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/csu/powerpc/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arch

2011-06-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Jul  1 02:59:05 UTC 2011

Modified Files:
src/lib/csu/arch/i386: crt0.S
src/lib/csu/arch/powerpc: crt0.S
src/lib/csu/arch/x86_64: crt0.S

Log Message:
Explicitly declare ___start as hidden.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/i386/crt0.S
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/powerpc/crt0.S
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/x86_64/crt0.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/powerpc

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 07:28:08 UTC 2011

Modified Files:
src/lib/csu/powerpc: dot_init.h

Log Message:
Make this adhere to the SVR4 ABI.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/powerpc/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/sparc64

2011-07-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul  4 21:54:18 UTC 2011

Modified Files:
src/lib/csu/sparc64: Makefile

Log Message:
XXX: for now, build sparc64 csu with -O1 if using GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/sparc64

2011-07-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul 16 23:07:50 UTC 2011

Modified Files:
src/lib/csu/sparc64: Makefile

Log Message:
revert the previous.  it didn't help and wasn't the problem anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/vax_elf

2011-07-30 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul 30 15:28:58 UTC 2011

Modified Files:
src/lib/csu/vax_elf: dot_init.h

Log Message:
Don't include 


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/vax_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/powerpc64

2011-10-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Oct 29 10:28:37 UTC 2011

Modified Files:
src/lib/csu/powerpc64: Makefile

Log Message:
remove -I- from CPPFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/powerpc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arm_elf

2012-01-25 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Jan 25 13:29:58 UTC 2012

Modified Files:
src/lib/csu/arm_elf: crt0.c

Log Message:
After christos@ latest re-structuring of includes and defines in
the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES,
so adapt accordingly.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/csu/arm_elf/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 
headers check.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/common

2012-01-31 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 31 20:03:50 UTC 2012

Modified Files:
src/lib/csu/common: Makefile.inc

Log Message:
Hmm, funny.  I wonder why and how did emacs VC managed to add

  Warning: Permanently added the RSA host key for IP address '...' to the list 
of known hosts.

to the committed file. (hi, new cvs!)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 the
start, not hidden behind the C code in crt0-common.c.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/common_elf

2012-03-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 21 10:09:21 UTC 2012

Modified Files:
src/lib/csu/common_elf: common.h

Log Message:
Use __UNCONST to unconst a ""


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/csu/common_elf/common.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/alpha

2012-03-22 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Mar 22 13:02:16 UTC 2012

Modified Files:
src/lib/csu/alpha: crt0.c

Log Message:
Convert to use c89 function declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/csu/alpha/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arm_elf

2012-08-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug  3 08:01:42 UTC 2012

Modified Files:
src/lib/csu/arm_elf: dot_init.h

Log Message:
Emit a note for EABI programs.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/arm_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arm_elf

2012-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug  4 14:57:47 UTC 2012

Modified Files:
src/lib/csu/arm_elf: dot_init.h

Log Message:
Use CRTI instead of __S


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/arm_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/common_elf

2012-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug  4 14:59:05 UTC 2012

Modified Files:
src/lib/csu/common_elf: Makefile.inc

Log Message:
Use COPTS instead of CFLAGS
When compiling crti.c and crtn.c, add -DCRTI and -DCRTN, respectively.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/csu/common_elf/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arm_elf

2012-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Aug  5 01:44:44 UTC 2012

Modified Files:
src/lib/csu/arm_elf: dot_init.h

Log Message:
back out elf note changes since we can use e_flags to determine EABI usage


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/arm_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/sparc_elf

2012-08-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 10 12:37:39 UTC 2012

Modified Files:
src/lib/csu/sparc_elf: Makefile crt0.c

Log Message:
Make this position independend (for -pie executables)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/sparc_elf/Makefile
cvs rdiff -u -r1.14 -r1.15 src/lib/csu/sparc_elf/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/sparc64

2012-08-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 10 16:37:31 UTC 2012

Modified Files:
src/lib/csu/sparc64: Makefile crt0.c

Log Message:
Slightly simplify and make position independend.
Part of fixing PR port-sparc64/46724.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/sparc64/Makefile
cvs rdiff -u -r1.26 -r1.27 src/lib/csu/sparc64/crt0.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arch

2013-05-05 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun May  5 10:26:57 UTC 2013

Modified Files:
src/lib/csu/arch/arm: crtbegin.S
src/lib/csu/arch/earm: crtbegin.S

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/arch/arm/crtbegin.S
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/earm/crtbegin.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arch

2013-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jul 11 06:57:16 UTC 2013

Modified Files:
src/lib/csu/arch/sparc: Makefile.inc crt0.S
Added Files:
src/lib/csu/arch/sparc: crtbegin.h crtend.S
src/lib/csu/arch/sparc64: Makefile.inc crt0.S crtbegin.h crtend.S
crti.S crtn.S

Log Message:
Add support for sparc and sparc64


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sparc/Makefile.inc \
src/lib/csu/arch/sparc/crt0.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/sparc/crtbegin.h \
src/lib/csu/arch/sparc/crtend.S
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/sparc64/Makefile.inc \
src/lib/csu/arch/sparc64/crt0.S src/lib/csu/arch/sparc64/crtbegin.h \
src/lib/csu/arch/sparc64/crtend.S src/lib/csu/arch/sparc64/crti.S \
src/lib/csu/arch/sparc64/crtn.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/common

2013-07-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 17 14:23:46 UTC 2013

Modified Files:
src/lib/csu/common: Makefile.inc

Log Message:
Use -fPIE for crtbegin.o (instead of -fpie).
Fixes linking the firefox js shell. Ok: joerg@


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/hppa

2013-08-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Aug  4 17:35:10 UTC 2013

Removed Files:
src/lib/csu/hppa: Makefile crt0.c dot_init.h

Log Message:
G/C old csu stuff for hppa.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/lib/csu/hppa/Makefile
cvs rdiff -u -r1.10 -r0 src/lib/csu/hppa/crt0.c
cvs rdiff -u -r1.8 -r0 src/lib/csu/hppa/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/arm_elf

2013-08-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 19 06:56:15 UTC 2013

Removed Files:
src/lib/csu/arm_elf: Makefile crt0.c dot_init.h

Log Message:
G/C arm COMPILERCRTSTUFF


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/lib/csu/arm_elf/Makefile
cvs rdiff -u -r1.10 -r0 src/lib/csu/arm_elf/crt0.c
cvs rdiff -u -r1.9 -r0 src/lib/csu/arm_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 now supply a local definition.  joerg@, please fix appropriately.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 rdiff -u -r1.21 -r1.22 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 causes an extra NULL entry to be added.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/csu/common/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
which causes an extra NULL entry to be added.
Fix "segfault on exit" several people have noticed on mips N32,
caused by a jr to a NULL address.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 - but the resulting object file is fine.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/common/compident.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/sh3_elf

2014-02-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Feb 27 02:14:27 UTC 2014

Removed Files:
src/lib/csu/sh3_elf: Makefile crt0.c dot_init.h

Log Message:
G/c old unused sh3 csu.  Requested by joerg@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/lib/csu/sh3_elf/Makefile
cvs rdiff -u -r1.12 -r0 src/lib/csu/sh3_elf/crt0.c
cvs rdiff -u -r1.7 -r0 src/lib/csu/sh3_elf/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/csu/powerpc64

2014-03-06 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Mar  7 07:23:49 UTC 2014

Removed Files:
src/lib/csu/powerpc64: Makefile crt0.c dot_init.h

Log Message:
these are obsolete.  Now using the common powerpc files in csu/arch/powerpc.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/lib/csu/powerpc64/Makefile
cvs rdiff -u -r1.4 -r0 src/lib/csu/powerpc64/crt0.c
cvs rdiff -u -r1.7 -r0 src/lib/csu/powerpc64/dot_init.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/compident.S \
src/lib/csu/common/sysident.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 linker changes first to avoid leaking dynamic
relocations into the binary.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
data is being examined, it would be possible to contrive a situation
(perhaps) where uninit'd vars could actually be used (unless the format
has been checked elsewhere earlier - I did not look ... we have to
appease gcc anyway).

Joerg: Please review (& fix)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crt0-common.c
cvs rdiff -u -r1.14 -r1.15 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/lib/csu/common/crtbegin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 rdiff -u -r1.22 -r1.23 src/lib/csu/common/crt0-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   >