From a485a7c204f5a1de8a764c621819c15ba969ce4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 12 Oct 2012 12:14:25 +0000 Subject: [PATCH] converted to GNU asm --- sources/last.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/sources/last.c b/sources/last.c index 0cb3a3e..0ceffec 100644 --- a/sources/last.c +++ b/sources/last.c @@ -1,11 +1,14 @@ -// letztes file der liste -// wichtig als endpunkt des kopierens - +/* + * last file of the list. In the original sources, this marks the end of the + * copy loop that copies the BaS to its final place. + * + * FIXME: + * + * no need to do it that way - this file will probably vanish and be replaced by + * a matching entry in the linker script. + */ void copy_end(void) { - asm - { -copy_end: - nop - } -} \ No newline at end of file + asm(".globl copy_end\n\t"); + asm("copy_end: nop\n\t"); +}