add support for arch-provided replacement files as .c or .S
authorRich Felker <dalias@aerifal.cx>
Tue, 19 Jan 2016 23:19:01 +0000 (18:19 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 19 Jan 2016 23:19:01 +0000 (18:19 -0500)
previously, replacement files provided in $(ARCH) dirs under src/ had
to be .s files. in order to replace a file with C source, an empty .s
file was needed there to suppress the original file, and a separate .c
file was needed in arch/$(ARCH)/src/.

support for .S is new and is aimed at short-term use eliminating .sub
files. asm source files are still expected not to make any heavy
preprocessor use, just simple conditionals on subarch. eventually most
affected files may be replaced with C source files with minimal inline
asm instead of asm source files.


No differences found