Subject: Re: mips gcc4 ld.elf_so problems
To: matthew green <mrg@eterna.com.au>
From: Simon Burge <simonb@NetBSD.org>
List: tech-toolchain
Date: 06/29/2006 02:05:15
matthew green wrote:

>    what happens if you make store_ptr() not an inline?
> 
> then store_ptr becomes a real function that uses unaligned stores,
> probably working.  i wonder the effect this has on program startup
> since it generates between 7 and 10 extra instructions (including
> a branch & return.)

Note that gcc inlines store_ptr() anyway with -O2.  Using -fno-inline
"worked", as in store_ptr() then does use unaligned loads/stores (as
Matt noted).

Simon.