On 09/05/2016 18:48, Richard W.M. Jones wrote: > > Of course we're well outside any standards here. Can we tell clang > users to use the GCC/pre-compiled option ROMs :-? Any other ideas? I > don't think I've missed a flag (GCC has -fno-toplevel-reorder, but > clang 3.8 doesn't ...)
I guess the checksumming script (scripts/signrom.py) could take care of padding the file to a multiple of 512 bytes, and fill in the size in the third byte. Then "_end" would not be necessary anymore and -m16 could replace the .code16 directive. Paolo