Re: [fpc-devel] Incorrect debug info for ESP32, linker error?

2021-12-04 Thread Christo Crause via fpc-devel
On Sat, Dec 4, 2021 at 5:23 PM Florian Klämpfl via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > Am 04.12.2021 um 14:04 schrieb Christo Crause via fpc-devel: > > When compiling a simple test for esp32 (xtensa-freertos), the incorrect > values for DW_AT_low_PC and DW_AT_high_PC are > > gener

Re: [fpc-devel] Incorrect debug info for ESP32, linker error?

2021-12-04 Thread Florian Klämpfl via fpc-devel
Am 04.12.2021 um 14:04 schrieb Christo Crause via fpc-devel: When compiling a simple test for esp32 (xtensa-freertos), the incorrect values for DW_AT_low_PC and DW_AT_high_PC are generated.  From my inspection of the generated assembler I cannot see anything wrong, but the values supplied by the

[fpc-devel] Incorrect debug info for ESP32, linker error?

2021-12-04 Thread Christo Crause via fpc-devel
When compiling a simple test for esp32 (xtensa-freertos), the incorrect values for DW_AT_low_PC and DW_AT_high_PC are generated. From my inspection of the generated assembler I cannot see anything wrong, but the values supplied by the linker are wrong. Any ideas on how to fix this? This can be s