| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-28 | Undo previous; breaks macppc/m68k (at least) | christos | |
| 2018-12-27 | Enable initfini array support for everyone. | christos | |
| 2018-11-26 | Do not pass the main object handle from the assembler startup stub to | joerg | |
| the common ___start routine. It's only used for a pointless magic version check. Thanks to martin@ for testing various architectures. | |||
| 2016-06-01 | Revert -O1 hack for GCC 5.3, replaced by workaround in the code. | joerg | |
| 2016-05-10 | We need the -O1 hack (for gcc 5.3) for crtbegin.c as well. | martin | |
| Works around PR toolchain/51121. | |||
| 2016-05-01 | Revert previous (fallout is more subtle but there). | martin | |
| Rework the conditionon so it depends on .S existence instead of an arch list. | |||
| 2016-04-30 | Gcc 5.3 seems to do fine compiling this for sparc64, so exclude it | martin | |
| from the -O1 hack | |||
| 2016-04-04 | For the benefit of compilers not using our native C runtime environment, | martin | |
| install a "sysident.o" file providing the note identifying NetBSD executables (and marking the currently installed version). | |||
| 2016-03-29 | crt0-common.c is miscompiled by gcc 5.3 on evbarm with -O2 so use -O1. Do | skrll | |
| this for all non-x86 arches. | |||
| 2016-03-27 | add a hack for GCC 5 and non-x86 platforms: | mrg | |
| 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. | |||
| 2014-03-04 | Add GENASSYM_CPPFLAGS in two more places. | joerg | |
| 2014-01-11 | Using ${LD} -x screws up BE arm. Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead | matt | |
| so the $a/$t/$d symbols are preserved. | |||
| 2013-11-17 | Simplify previous by using CSU_MACHINE_ARCH. Hint from Takeshi Nakayama. | martin | |
| 2013-11-16 | We do not want to build the code model markes when creating the 32bit | martin | |
| compat libs for sparc64 | |||
| 2013-11-14 | On sparc64: create additional "marker" object files, that can be used by the | martin | |
| compiler to encode the used code model in binaries. | |||
| 2013-11-11 | Explicitly depend on sys/param.h to pick up __NetBSD_Version changes. | joerg | |
| 2013-09-18 | Fix previous: use PICFLAGS for crtbeginS.o | uwe | |
| 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. | |||
| 2013-09-12 | Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small | joerg | |
| vs big PIC mode. Retire -DPIC and -DBIGPIC. | |||
| 2013-09-10 | Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for | matt | |
| which a program was compiled. | |||
| 2013-08-05 | Alpha needs crtfm.o for USE_COMPILERCRTSTUFF=no | matt | |
| 2013-07-18 | Only supplie -fPIE to crtbegin.c if MKPIC is yes. | matt | |
| 2013-07-17 | Use -fPIE for crtbegin.o (instead of -fpie). | martin | |
| Fixes linking the firefox js shell. Ok: joerg@ | |||
| 2013-07-05 | Only install crtbeginS.o, crtbeginT.o and crtendS.o when MKPIC=yes. | joerg | |
| 2013-06-27 | Switch arm, earm, powerpc to use crtbegin.c | matt | |
| Use -fpie for crtbegin. | |||
| 2013-06-27 | Add -fPIC to compile of crtbeginS.o | matt | |
| 2013-06-25 | Reorder to avoid !exists | matt | |
| Add a crtbegin.h dependency | |||
| 2013-06-22 | Add a common crtbegin.c file and use a machine dependent crtbegin.h to | matt | |
| fill in .init/.fini. Add mips support for USE_COMPILERCRTSTUFF=no (compiled only) | |||
| 2013-06-22 | Allow crtbegin to be a C file. | matt | |
| 2012-03-25 | Don't pass assembler flags to genassym, it doesn't compile. | joerg | |
| 2012-01-31 | Move crt0.S in front of crt0-common.c when building crt0.o and gcrt0.o. | uwe | |
| Reading disassembly is easier when the asm crt0.S trampoline is at the start, not hidden behind the C code in crt0-common.c. | |||
| 2012-01-31 | Hmm, funny. I wonder why and how did emacs VC managed to add | uwe | |
| Warning: Permanently added the RSA host key for IP address '...' to the list of known hosts. to the committed file. (hi, new cvs!) | |||
| 2012-01-31 | Use -DPIC to compile crtbeginS.o since that's what <machine/asm.h> | uwe | |
| headers check. | |||
| 2011-01-31 | use of .PARSEDIR just doesn't work with .OBJDIR, replace with .CURDIR | drochner | |
| 2010-12-07 | Build assembler sources with assembler compile rules. | joerg | |
| 2010-08-07 | Switch i386 and x86_64 to the new CRT layout. The crt0.c body is shared | joerg | |
| 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. | |||
