make.tmpl: add missing compiler attribute to build_progs
[AROS.git] / arch / m68k-mac / exec / detect_memory_handlers.S
bloba98c7e95318d39cee8e5b772009023881feb8c83
1         #define NO_PROTOS
2         #include "pp_exec_internal.h"
3         
5         .text
6         .balign 4
7         .globl dm_bus_error_handler
9 dm_bus_error_handler:
10         /*
11          * As easy as can be: Leave a note that something
12          * bad happened in address 'ADDRESS_ERROR_MARKER_ADDRESS'
13          */
14         move.l  #2,ADDRESS_ERROR_MARKER_ADDRESS
15         rte
17         .text
18         .balign 4
19         .globl dm_addr_error_handler
21 dm_addr_error_handler:
22         /*
23          * As easy as can be: Leave a note that something
24          * bad happened in address 'ADDRESS_ERROR_MARKER_ADDRESS'
25          */
26         move.l  #3,ADDRESS_ERROR_MARKER_ADDRESS
27         rte