[Fwd: ARM char array on stack]

2006-11-19 Thread Michael Trimarchi
--- Begin Message --- Hi, if I define this type: typedef unsigned char UCHAR __attribute__((aligned(32))); void func(void) { char example; UCHAR vector[40]; ... } The vector array is 4 byte alignment in any case? Regards Michael --- End Message ---

Re: arm sof float

2005-11-14 Thread Michael Trimarchi
Richard Earnshaw wrote: On Mon, 2005-11-14 at 16:52, Michael Trimarchi wrote: Hi all, I have this function defined twice. One in the libgcc2.c file and one in gcc/config/arm/ieee754-df.S __floatdisf I have problem during compilation of a arm soft float toolchain. Is there any fix

arm sof float

2005-11-14 Thread Michael Trimarchi
Hi all, I have this function defined twice. One in the libgcc2.c file and one in gcc/config/arm/ieee754-df.S __floatdisf I have problem during compilation of a arm soft float toolchain. Is there any fix? Regards Michael

smart memcpy

2005-09-09 Thread Michael Trimarchi
Hi all, is it possible to map a region on memory copy on write using this idea? I have an invalid argument in the mmap call. Why? #include #include #include #include #include #include #include #include #include #define MAXPATH 255 int main (int argc, char **argv) { char *s,*x; int

.rodata gcc 3.3.3 gcc 2.95.2

2005-07-13 Thread Michael Trimarchi
Hi all, I have different assembler code and I notice that the gcc 3.3.3 add this information in the asm code: .section.rodata.str1.4,"aMS",%progbits,1 align 2 .LC0: .ascii "filename\000" Generated by gcc 2.95.2 19991024 (release) for ARM/elf doesn't have this section So when