Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [100%] Linking CXX executable rpnx-kernel.elf
- /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/rpnx-kernel.dir/link.txt --verbose=1
- /opt/local/bin/ld.lld-mp-14 -T /Users/rnicholl/testos/linker.ld -O2 -nostdlib -( klib/libklib.a "CMakeFiles/rpnx-kernel.dir/boot.asm.obj" "CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj" -) -o rpnx-kernel.elf
- ld.lld: error: undefined symbol: mmu_set_translation_table_base0_address
- >>> referenced by kernel.cpp
- >>> CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj:(kernel_main)
- make[2]: *** [rpnx-kernel.elf] Error 1
- make[1]: *** [CMakeFiles/rpnx-kernel.dir/all] Error 2
- make: *** [all] Error 2
- rnicholl@rpnx-lt-04 testos % nm ./build/klib/libklib.a
- empty.c.obj:
- 0000000000000000 T empty_function_test
- cpu.asm.obj:
- 0000000000000000 T mmu_set_translation_table_base0_address
- rnicholl@rpnx-lt-04 testos % objdump -x ./build/CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj
- ./build/CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj: file format elf64-littleaarch64
- architecture: aarch64
- start address: 0x0000000000000000
- Program Header:
- Dynamic Section:
- Sections:
- Idx Name Size VMA Type
- 0 00000000 0000000000000000
- 1 .strtab 000000ad 0000000000000000
- 2 .text 00000038 0000000000000000 TEXT
- 3 .rela.text 00000060 0000000000000000
- 4 .data 00000004 0000000000000000 DATA
- 5 .comment 00000016 0000000000000000
- 6 .note.GNU-stack 00000000 0000000000000000
- 7 .eh_frame 00000030 0000000000000000 DATA
- 8 .rela.eh_frame 00000018 0000000000000000
- 9 .llvm_addrsig 00000002 0000000000000000
- 10 .symtab 000000f0 0000000000000000
- SYMBOL TABLE:
- 0000000000000000 l df *ABS* 0000000000000000 kernel.cpp
- 0000000000000000 l d .text 0000000000000000 .text
- 0000000000000000 l .text 0000000000000000 $x.0
- 0000000000000000 l .data 0000000000000000 $d.1
- 0000000000000000 l .comment 0000000000000000 $d.2
- 0000000000000000 l .eh_frame 0000000000000000 $d.3
- 0000000000000000 g F .text 0000000000000038 kernel_main
- 0000000000000000 g O .data 0000000000000004 c
- 0000000000000000 *UND* 0000000000000000 mmu_set_translation_table_base0_address
- RELOCATION RECORDS FOR [.text]:
- OFFSET TYPE VALUE
- 0000000000000010 R_AARCH64_ADR_PREL_PG_HI21 c
- 0000000000000014 R_AARCH64_LDST32_ABS_LO12_NC c
- 000000000000001c R_AARCH64_LDST32_ABS_LO12_NC c
- 0000000000000028 R_AARCH64_CALL26 mmu_set_translation_table_base0_address
- RELOCATION RECORDS FOR [.eh_frame]:
- OFFSET TYPE VALUE
- 000000000000001c R_AARCH64_PREL32 .text
- rnicholl@rpnx-lt-04 testos %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement