diff --git a/mach/6500/libend/.distr b/mach/6500/libend/.distr new file mode 100644 index 000000000..b48ec8483 --- /dev/null +++ b/mach/6500/libend/.distr @@ -0,0 +1,2 @@ +LIST +end_s.a diff --git a/mach/6500/libend/LIST b/mach/6500/libend/LIST new file mode 100644 index 000000000..2efbd3eb2 --- /dev/null +++ b/mach/6500/libend/LIST @@ -0,0 +1,5 @@ +end_s.a +edata.s +em_end.s +end.s +etext.s diff --git a/mach/6500/libend/edata.s b/mach/6500/libend/edata.s new file mode 100644 index 000000000..a742b6f11 --- /dev/null +++ b/mach/6500/libend/edata.s @@ -0,0 +1,7 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define _edata +.sect .data +_edata: diff --git a/mach/6500/libend/em_end.s b/mach/6500/libend/em_end.s new file mode 100644 index 000000000..6848f6642 --- /dev/null +++ b/mach/6500/libend/em_end.s @@ -0,0 +1,14 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .end ! only for declaration of _end, __end and endbss. +.define endtext,enddata,endbss,__end + + .sect .text +endtext: + .sect .data +enddata: + .sect .end +__end: +endbss: diff --git a/mach/6500/libend/end.s b/mach/6500/libend/end.s new file mode 100644 index 000000000..93a1e6e00 --- /dev/null +++ b/mach/6500/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/6500/libend/etext.s b/mach/6500/libend/etext.s new file mode 100644 index 000000000..6651ca96e --- /dev/null +++ b/mach/6500/libend/etext.s @@ -0,0 +1,7 @@ +.sect .text +.sect .rom +.sect .data +.sect .bss +.define _etext +.sect .text +_etext: