• Ben Avison's avatar
    Minor improvements · a99b2e7b
    Ben Avison authored
    A few misfeatures were discovered when rewriting the Makefile (see next
    commit). These fixes affect the binary outputs:
    
    * Module builds (the normal case) were disabling stack limit checks. Yet the
      code executes in USR mode with a chunked stack in application space, so this
      is potentially unsafe because it could lead to untrapped stack overflows.
    * The `Export` file was being unconditionally reinstalled in ResourceFS at
      runtime, duplicating the file that is installed via the Messages module.
    * Application (disc and debug) builds were linking with the RISC_OSLib binary
      that was intended for module targets.
    * WimpSlot size in application builds was too small to permit it to run.
    a99b2e7b
Makefile 5.22 KB