Idea - big and little endian data areas using named address spaces

Andreas Krebbel krebbel@linux.vnet.ibm.com
Wed Nov 10 16:46:00 GMT 2010


David,

for s390 we would also be interested in a solution like that. s390 is big endian and
endianess conflicts often come in the way when porting an application from 'other'
platforms.  Linus Torvalds already in 2001 made a quite similiar suggestions using a type
attribute:

http://gcc.gnu.org/ml/gcc/2001-12/msg00932.html

It probably also would make sense to distingiush between byte and bit endianess.

Bye,

-Andreas-



More information about the Gcc mailing list