Convert library asm files to GAS syntax
This commit is contained in:
@@ -43,17 +43,17 @@ clean:
|
||||
# How to build it
|
||||
klib386.o: klib386.S
|
||||
$(CC) $(CFLAGS) -E -D__ASSEMBLY__ -o $@.tmp $<
|
||||
gas2ack $@.tmp $@.s
|
||||
gas2ack -u $@.tmp $@.s
|
||||
$(CC) $(CFLAGS) -c -o $@ $@.s
|
||||
|
||||
mpx386.o: mpx386.S
|
||||
$(CC) $(CFLAGS) -E -D__ASSEMBLY__ -o $@.tmp $<
|
||||
gas2ack $@.tmp $@.s
|
||||
gas2ack -u $@.tmp $@.s
|
||||
$(CC) $(CFLAGS) -c -o $@ $@.s
|
||||
|
||||
apic_asm.o: apic_asm.S
|
||||
$(CC) $(CFLAGS) -E -D__ASSEMBLY__ -o $@.tmp $<
|
||||
gas2ack $@.tmp $@.s
|
||||
gas2ack -u $@.tmp $@.s
|
||||
$(CC) $(CFLAGS) -c -o $@ $@.s
|
||||
|
||||
$(HEAD): mpx386.o
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
.globl apic_hwint14
|
||||
.globl apic_hwint15
|
||||
|
||||
.text
|
||||
#define APIC_IRQ_HANDLER(irq) \
|
||||
push $irq ;\
|
||||
call irq_handle /* intr_handle(irq_handlers[irq]) */ ;\
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* sections */
|
||||
|
||||
.text; .data; .data; .bss
|
||||
|
||||
#include <minix/config.h>
|
||||
#include <minix/const.h>
|
||||
|
||||
Reference in New Issue
Block a user