1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

fix 'loadcon8'; was bad for big-endian vmlinux ARM

This commit is contained in:
John Reiser 2007-04-18 09:52:52 -07:00
parent 2d87aa0753
commit c21d3e24f8

View File

@ -35,7 +35,7 @@
.endm
.macro loadcon8 reg,val8
.byte \val8, \reg<<4, 0xa0, 0xe3 /* mov \reg,#\val8 */
.long (0xe3<<24)|(0xa0<<16)|((\reg<<4)<<8)+(\val8) /* mov \reg,#\val8 */
.endm
// vi:ts=8:et:nowrap