LemonBoy a038ef3570 Assemble asm files using CC
Stuffing all the files together and compiling the resulting blob with
the main program is a terrible idea.

Some files, namely the .S ones, must be run trough the C preprocessor
before assembling them (#2437).

Beside that the aggregate may be mis-compiled due to the presence of
some flags that affect the following code.

For example let's consider two files, a.s and b.s

a.s
```
fn1:
    ret
.data
data1:
    .word 0
```

b.s
```
fn2:
    ret
```

Now, fn1 and fn2 will be both placed in the .text section as intended if
the two files are compiled separately. But if we merge them the `.data`
flag ends up placing fn2 in the wrong section!

This fixes a nasty crash where musl's memset ended up in the
non-executable data segment, leading to too many hours of
head-scratching.
2019-05-13 16:41:07 +02:00
..
2019-03-31 16:47:34 -05:00
2019-05-10 13:26:33 +02:00
2019-05-13 16:41:07 +02:00
2019-05-05 13:00:20 +02:00
2019-04-24 20:54:05 +02:00
2018-09-30 17:28:35 -04:00
2019-05-07 11:47:23 +02:00
2019-04-29 14:02:19 -04:00
2018-11-13 05:08:37 -08:00
2019-03-29 12:17:48 -04:00
2019-05-03 01:25:03 -04:00
2019-03-02 16:46:04 -05:00
2019-05-09 13:05:06 -04:00
2019-05-04 16:19:26 +00:00
2019-03-02 16:46:04 -05:00
2019-05-10 08:40:36 -04:00
2019-03-24 00:44:18 -04:00
2019-03-02 16:46:04 -05:00