- P.S.obj.d -o esp-idf/ulp/CMakeFiles/__idf_ulp.dir/PartBinULP.S.obj -c ../components/ulp/PartBinULP.S
- ../components/ulp/PartBinULP.S: Assembler messages:
- ../components/ulp/PartBinULP.S:55: Error: unknown pseudo-op: `.bss'
- ../components/ulp/PartBinULP.S:125: Error: unknown opcode or format name 'move'
- ../components/ulp/PartBinULP.S:126: Error: unknown opcode or format name 'ld'
- ../components/ulp/PartBinULP.S:127: Error: bad register name: r0
- ../components/ulp/PartBinULP.S:127: Error: junk at end of line, first unrecognized character is `r'
- ../components/ulp/PartBinULP.S:127: Internal error in ignore_rest_of_line at /builds/idf/crosstool-NG/.build/HOST-i686-w64-mingw32/xtensa-esp32-elf/src/binutils/gas/read.c:3762.
- Please report this bug.
While assembling a .S file with the following lines:
- 54 // Data segment
- 55 .bss
- 56 .global LastReadHi // Last reported read hi word
And then the first few lines of the .text segment
- 110 // Code segment
- 111 .text
- 112 .global entry
- 113 entry:
- 124 // First count and report the number of times ULP has cycled
- 125 move r3, ULPcycles
- 126 ld r0, r3, 0
- 127 add r0, r0, 1
- 128 st r0, r3, 0
I’m seeing other problems as well as I migrate to 4.0, but I’d first like to resolve this.
Thanks.