[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [FREEMINT][PATCH] gcc 3 does not like multi-line assembly (and strings)



Le Fri, 22 Apr 2005 18:50:05 +0200 (CEST)
Frank Naumann <fnaumann@boerde.de> a écrit:

> > gcc 3 does not like multi line assembly, so here is a small patch.
> 
> Ok, thanks.

So, here are a bit more (and also for lib subdir).

There is still the problem with the d0 clobbered register used as return
value, when calling the system functions via traps (inlined assembly).

I have also a problem with a const pointer passed as parameter, used to
initialize a local const pointer, in freemint/sys/xfs/ext2fs/bitmap.h:

INLINE long
ext2_find_first_zero_bit (const void *vaddr, ulong size)
{
	const ulong long *p = vaddr, *addr = vaddr;

Gcc 3 complains about initializing p and addr (idem for
find_next_zero_bit following function).

-- 
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Spécialité: Développement, jeux

Attachment: lib.diff.gz
Description: Binary data

Attachment: freemint.diff.gz
Description: Binary data