The attached patch fixes almost 400 failures in gdb.base/align.exp and related tests due to a missing definition for the type_align hook for nios2. I swiped the definition of the hook from the arc backend which has similar conventions: the alignment of byte/halfword types matches their size, but all types 4 bytes or larger are aligned on a 4-byte boundary. OK to commit? -Sandra