Searched refs:elf (Results 1 – 25 of 26) sorted by relevance
12
8 use elf::{endian::AnyEndian, file::FileHeader, segment::ProgramHeader};57 if ehdr.class != elf::file::Class::ELF64 { in probe_x86_64()130 if p_flags & elf::abi::PF_R != 0 { in make_prot()133 if p_flags & elf::abi::PF_W != 0 { in make_prot()136 if p_flags & elf::abi::PF_X != 0 { in make_prot()346 ehdr: &elf::file::FileHeader<AnyEndian>, in create_auxv()369 fn parse_ehdr(data: &[u8]) -> Result<FileHeader<AnyEndian>, elf::ParseError> { in parse_ehdr()370 let ident_buf = data.get_bytes(0..elf::abi::EI_NIDENT)?; in parse_ehdr()371 let ident = elf::file::parse_ident::<AnyEndian>(ident_buf)?; in parse_ehdr()373 let tail_start = elf::abi::EI_NIDENT; in parse_ehdr()[all …]
4 pub mod elf; module
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc19 …R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/test_bind $(output_dir)/test_bind.elf21 mv $(output_dir)/test_bind.elf $(output_dir)/test_bind
64 /* .gnu.warning sections are handled specially by elf.em. */
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc19 … ".comment" -O elf64-x86-64 $(tmp_output_dir)/test_gettimeofday $(output_dir)/test_gettimeofday.elf20 mv $(output_dir)/test_gettimeofday.elf $(output_dir)/test_gettimeofday
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc19 …".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/test_fstat $(output_dir)/test_fstat.elf21 mv $(output_dir)/test_fstat.elf $(output_dir)/test_fstat
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc19 …eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/http_server $(output_dir)/http_server.elf21 mv $(output_dir)/http_server.elf $(output_dir)/http_server
32 export CC=$(DragonOS_GCC)/x86_64-elf-gcc34 export AS=$(DragonOS_GCC)/x86_64-elf-as35 export NM=$(DragonOS_GCC)/x86_64-elf-nm36 export AR=$(DragonOS_GCC)/x86_64-elf-ar37 export OBJCOPY=$(DragonOS_GCC)/x86_64-elf-objcopy
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc24 …_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/test_sqlite3 $(output_dir)/test_sqlite3.elf25 mv $(output_dir)/test_sqlite3.elf $(output_dir)/test_sqlite3
1 CC=$(DragonOS_GCC)/x86_64-elf-gcc19 …4-x86-64 -R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/test $(output_dir)/test.elf
4 objdump -D ../bin/kernel/kernel.elf > ../bin/kernel/kernel.txt
2 file bin/kernel/kernel.elf
7 …eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/test_signal $(output_dir)/test_signal.elf
10 …x86-64 -R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/about $(output_dir)/about.elf
7 …x86-64 -R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/shell $(output_dir)/shell.elf
46 extern crate elf;
61 $(OBJCOPY) -I elf64-x86-64 -O elf64-x86-64 kernel ../../bin/kernel/kernel.elf
27 elf = { version = "0.7.2", default-features = false }
55 - feature: 新的二进制加载器、elf解析器 (#303)371 - 新增二进制加载器,以及elf的解析器412 - 新增二进制加载器,以及elf的解析器
60 - new: 新增目标为x86_64-elf的GCC裸机编译器,并使用它来编译DragonOS (#111)139 修正由于libc中具有crti.S和crtn.S,造成的与x86_64-elf-gcc不兼容的问题 (#144)
245 修正由于libc中具有crti.S和crtn.S,造成的与x86_64-elf-gcc不兼容的问题 (#144)
11 libs::elf::ELF_LOADER,