Hi all,
The .eh_frame section is a sequence of records.
Each record is either a CIE (Common Information Entry) or an FDE (Frame Description Entry).
Each of these records contain length and offset fields, that need to be stored in proper byte order.
ARM big endian mode requires the .eh_frame section in bit endian order, although instructions are always in le order.
This patch stores fixups in .eh_frame section in bit endian order (for be mode).
Please review.
Thanks,
Christian
Another nit: please put the * next to the variable.