Created
April 17, 2024 16:19
-
-
Save lupyuen/e7cdef603bdb16fbc82c2bf940b5d2d8 to your computer and use it in GitHub Desktop.
[After Custom Rust Target] ELF Header for Rust Compiler Output: Double-Precision Hardware Floating-Point. See https://github.com/lupyuen/nuttx-rust-app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## [After Custom Rust Target] | |
## ELF Header for Rust Compiler Output: | |
## Double-Precision Hardware Floating-Point | |
$ riscv64-unknown-elf-readelf \ | |
--file-header --arch-specific \ | |
../apps/examples/hello_rust/*hello_rust.o | |
ELF Header: | |
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 | |
Class: ELF32 | |
Data: 2's complement, little endian | |
Version: 1 (current) | |
OS/ABI: UNIX - System V | |
ABI Version: 0 | |
Type: REL (Relocatable file) | |
Machine: RISC-V | |
Version: 0x1 | |
Entry point address: 0x0 | |
Start of program headers: 0 (bytes into file) | |
Start of section headers: 10352 (bytes into file) | |
Flags: 0x5, RVC, double-float ABI | |
Size of this header: 52 (bytes) | |
Size of program headers: 0 (bytes) | |
Number of program headers: 0 | |
Size of section headers: 40 (bytes) | |
Number of section headers: 29 | |
Section header string table index: 1 | |
Attribute Section: riscv | |
File Attributes | |
Tag_RISCV_stack_align: 16-bytes | |
Tag_RISCV_arch: "rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment