From: Philipp R. <pr...@pa...> - 2000-11-28 22:15:23
|
On Tue, Nov 28, 2000 at 12:36:12PM -0800, Bryan Rittmeyer wrote: > Philipp Rumpf wrote: > > > gas warns about unaligned .longs. gcc should never generate unaligned > > accesses unless you use weird casting or assembler code. > > Basically, I think the problem was with code like this: That code definitely should compile and work fine without causing unaligned accesses. > I will test that exact snippet on the SH4 and see if we are still having > problems. If we are, I guess it's due to the linker either not aligning > structtwo or not aligning boom within structtwo? s/linker/compiler/. It would be a GCC bug, yes. > Just to make sure--when a process catches, say, a SIGSEGV and hasn't > installed a special handler for it, it's up to the shell to display the > termination message? yes. |