]> git.sur5r.net Git - cc65/commit
Force an import of the special symbol __STARTUP__ in the C compiler when
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 31 Jul 2009 12:05:42 +0000 (12:05 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 31 Jul 2009 12:05:42 +0000 (12:05 +0000)
commit8216bf1d6abd5b466fc71fcfd9d6a4115881fffc
tree4384b3c1f7688c5cf44c53beafd9d8f42f34bbdc
parent66391bfc250ebea8b7603b3f96d45cffe0d566ca
Force an import of the special symbol __STARTUP__ in the C compiler when
main() is encountered. Define this symbol in the startup code. This will
automatically force linking of the startup code which can then reside inside
the standard library as any other object file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3988 b7a2c559-68d2-44c3-8de9-860c34a00d81
18 files changed:
libsrc/Makefile
libsrc/apple2/crt0.s
libsrc/atari/crt0.s
libsrc/atmos/crt0.s
libsrc/c128/crt0.s
libsrc/c16/crt0.s
libsrc/c64/crt0.s
libsrc/cbm510/crt0.s
libsrc/cbm610/crt0.s
libsrc/lynx/crt0.s
libsrc/nes/crt0.s
libsrc/pet/crt0.s
libsrc/plus4/crt0.s
libsrc/supervision/crt0.s
libsrc/vic20/crt0.s
packages/rpm/redhat/cc65.spec
samples/Makefile
src/cc65/codegen.c