chirping78 commented on issue #16235: URL: https://github.com/apache/nuttx/issues/16235#issuecomment-2829258858
> [@chirping78](https://github.com/chirping78) , regarding [#16255 (comment)](https://github.com/apache/nuttx/pull/16255#issuecomment-2826294591), can you please share which ESP-IDF version you are using? > > I couldn't reproduce the exact behavior: both gdb and objdump output show the same output (the same of `gdb` in your example). @tmedicci I have tried two versions of `objdump` (`xtensa-esp32s3-elf-objdump --version`). One is installed by idf, with version `GNU objdump (crosstool-NG esp-13.2.0_20240305) 2.41`. Another is same from the NuttX CI, version `GNU objdump (crosstool-NG esp-12.2.0_20230208) 2.39.0.20220915`. Both can disassemble correctly the `call_start_cpu1` function of the hello world project. And checked the script `hello_world/build/esp-idf/esp_system/ld/sections.ld`, it has the section you added in PR https://github.com/apache/nuttx/pull/16255 ``` 707 /** 708 * This section will be used by the debugger and disassembler to get more 709 * information about raw data present in the code. 710 * Indeed, it may be required to add some padding at some points in the code 711 * in order to align a branch/jump destination on a particular bound. 712 * Padding these instructions will generate null bytes that shall be 713 * interpreted as data, and not code by the debugger or disassembler. 714 * This section will only be present in the ELF file, not in the final binary 715 * For more details, check GCC-212 716 */ 717 .xt.prop 0 : 718 { 719 KEEP (*(.xt.prop .gnu.linkonce.prop.*)) 720 } 721 .xt.lit 0 : 722 { 723 KEEP (*(.xt.lit .gnu.linkonce.p.*)) 724 } ``` you can check you idf project to see whether it has this part. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org