Commit Graph

6 Commits

Author SHA1 Message Date
joerg
61731496eb Retire USE_COMPILERCRTSTUFF=yes. 2014-04-22 13:20:58 +00:00
skrll
9a641fd145 crt0 actually calls ___start 2013-07-13 09:48:26 +00:00
martin
14d55ae518 Try to also document the variant using common C code - Matt, please review! 2013-07-10 09:41:16 +00:00
martin
36d44ff56f Fix typo 2013-07-10 09:32:49 +00:00
joerg
5b92de54be Add some more clues on what is needed to add a new platform. 2013-06-24 14:27:35 +00:00
joerg
01bc9d5012 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.
2010-08-07 18:01:32 +00:00