diff options
author | liuzhensong <liuzhensong@loongson.cn> | 2022-08-04 14:30:39 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2022-09-30 14:00:47 +0800 |
commit | c4a7e6b56218e1d5a858682186b542e2eae01a4a (patch) | |
tree | cc3a1b9f8227ed91cea78da16773225743d1ebc5 /gas/compress-debug.h | |
parent | 0d94a8735055432029237612a6eb9165db1ec9dd (diff) | |
download | gdb-c4a7e6b56218e1d5a858682186b542e2eae01a4a.zip gdb-c4a7e6b56218e1d5a858682186b542e2eae01a4a.tar.gz gdb-c4a7e6b56218e1d5a858682186b542e2eae01a4a.tar.bz2 |
LoongArch: Update ELF e_flags handling according to specification.
Update handling of e_flags according to the documentation
update [1] (discussions [2][3]).
Object file bitness is now represented in the EI_CLASS byte.
The e_flags field is now interpreted as follows:
e_flags[2:0]: Base ABI modifier
- 0x1: soft-float
- 0x2: single-precision hard-float
- 0x3: double-precision hard-float
e_flags[7:6]: ELF object ABI version
- 0x0: v0
- 0x1: v1
[1]: https://github.com/loongson/LoongArch-Documentation/blob/main/docs/LoongArch-ELF-ABI-EN.adoc#e_flags-identifies-abi-type-and-version
[2]: https://github.com/loongson/LoongArch-Documentation/pull/61
[3]: https://github.com/loongson/LoongArch-Documentation/pull/47
Diffstat (limited to 'gas/compress-debug.h')
0 files changed, 0 insertions, 0 deletions