extra/locale: Mark __codeset_8_bit_t as packed for Meta
commit20221281b3d67880439cd1d16c151f4528d034fb
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 24 Mar 2011 11:37:25 +0000 (24 11:37 +0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Mar 2013 21:47:08 +0000 (14 22:47 +0100)
treead88cf11135638ef585eb489e0c63924b6855dac
parente3436cc40d8ebf4303d0ba5bb24f21edf41fd1e8
extra/locale: Mark __codeset_8_bit_t as packed for Meta

gen_ldc writes offsets into the __locale_mmap_t structure. This
relies on the host system having the same struct offsets as the
target. On Meta, the structs are always aligned to a multiple of
4 bytes, and for these targets it is required for the struct to
be packed so that it is more likely to match the host system
(typically x86 which does not align structs).

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
extra/locale/gen_wc8bit.c