[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3276] Alignment error with static const variable in inline
From: |
wilson at specifix dot com |
Subject: |
[Bug binutils/3276] Alignment error with static const variable in inline function |
Date: |
28 Sep 2006 21:30:37 -0000 |
------- 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/3276] New: Alignment error with static const variable in inline function, jespdj at hotmail dot com, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, jespdj at hotmail dot com, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, jespdj at hotmail dot com, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, jespdj at hotmail dot com, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, jespdj at hotmail dot com, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, pinskia at gcc dot gnu dot org, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function,
wilson at specifix dot com <=
- Re: [Bug binutils/3276] New: Alignment error with static const variable in inline function, Jim Wilson, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, dannysmith at users dot sourceforge dot net, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, dannysmith at users dot sourceforge dot net, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, dannysmith at users dot sourceforge dot net, 2006/09/28
- [Bug binutils/3276] Alignment error with static const variable in inline function, dannysmith at users dot sourceforge dot net, 2006/09/28