diff --git a/mach/m68k2/libend/.distr b/mach/m68k2/libend/.distr new file mode 100644 index 000000000..b48ec8483 --- /dev/null +++ b/mach/m68k2/libend/.distr @@ -0,0 +1,2 @@ +LIST +end_s.a diff --git a/mach/m68k2/libend/LIST b/mach/m68k2/libend/LIST new file mode 100644 index 000000000..2efbd3eb2 --- /dev/null +++ b/mach/m68k2/libend/LIST @@ -0,0 +1,5 @@ +end_s.a +edata.s +em_end.s +end.s +etext.s diff --git a/mach/m68k2/libend/edata.s b/mach/m68k2/libend/edata.s new file mode 100644 index 000000000..f53adc109 --- /dev/null +++ b/mach/m68k2/libend/edata.s @@ -0,0 +1,9 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define _edata +.sect .data + .align 4 + .sect .data +_edata: diff --git a/mach/m68k2/libend/em_end.s b/mach/m68k2/libend/em_end.s new file mode 100644 index 000000000..a062368da --- /dev/null +++ b/mach/m68k2/libend/em_end.s @@ -0,0 +1,22 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define endtext,enddata,endbss,__end +.sect .text + .align 4 +.sect .rom + .align 4 +.sect .data + .align 4 +.sect .bss + .align 4 +.sect .end ! only for declaration of _end, __end and endbss. + + .sect .text +endtext: + .sect .data +enddata: + .sect .end +__end: +endbss: diff --git a/mach/m68k2/libend/end.s b/mach/m68k2/libend/end.s new file mode 100644 index 000000000..93a1e6e00 --- /dev/null +++ b/mach/m68k2/libend/end.s @@ -0,0 +1,7 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define _end +.sect .end ! only for declaration of _end, __end and endbss. +_end: diff --git a/mach/m68k2/libend/etext.s b/mach/m68k2/libend/etext.s new file mode 100644 index 000000000..8c7453cb4 --- /dev/null +++ b/mach/m68k2/libend/etext.s @@ -0,0 +1,9 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define _etext +.sect .text + .align 4 + .sect .text +_etext: