[yz@localhost c]$ echo $LANG en_US.UTF-8 [yz@localhost c]$ LANG='en_US.UTF-8' ; readelf -h hello.o ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) [yz@localhost c]$ echo $LANG zh_CN.UTF-8 [yz@localhost c]$ LANG='zh_CN.UTF-8' ; readelf -h hello.o ELF 头: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 类别: ELF64 数据: 2 补码,小端序 (little endian) Version: 1 (current) OS/ABI: UNIX - System V ABI 版本: 0 类型: REL (可重定位文件)