------- Additional Comments From wilson at specifix dot com 2006-09-28 21:30
-------
Subject: Re: New: Alignment error with static const
variable in inline function
On Thu, 2006-09-28 at 07:42 +0000, jespdj at hotmail dot com wrote:
> g++ outputs the correct assembler code, so the error must be in as or ld.
Or, more likely, in the OS. Try running objdump -x on your executable.
If the .rdata section has alignment 2**4, then the linker is OK. It is
your OS (i.e. the loader) that isn't respecting the alignment.
I tried this on an i386-cygwin system, and it looked OK to me. The
rdata section has the right alignment, and the program worked. I didn't
do this with binutils-2.17 though. I used the one I already had.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3276
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils