Re: Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-31 Thread Joe Buck
On Thu, Jun 01, 2006 at 09:29:08AM +0800, Fengwei Yin wrote: > Hi Richard, > Thanks for your information. I will ask for help on [EMAIL PROTECTED] OK, great. > But I still have question about gcc here: Um, you're still here? Please don't ask more questions here. Your questions reveal that you a

Re: Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-31 Thread Fengwei Yin
Hi Richard, Thanks for your information. I will ask for help on [EMAIL PROTECTED] But I still have question about gcc here: The Local variables layout will impact my development. Consider following C code: my_test() { int i; int j; char c[7]; int *tmp; tmp = (int *)

Re: Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-31 Thread Richard Earnshaw
On Wed, 2006-05-31 at 07:58, Fengwei Yin wrote: > int my_temp(void) > { > int i; > int j; > char str[2]; > > Please notice the address of the str and j. there IS NO memory hole > between therm > when using gcc 3.4.3 and there IS memory hole when using gcc 4.1. My question > is:

Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-30 Thread Fengwei Yin
Hi, When enable the gcc 4.1 with EABI support for ARM, I met such situation about the alignment. Here is my test case: #include #include struct test { char c1; long long n; char c2; }; int my_temp(void) { int i; int j; char str[2]; lon