ULP: rel too far BFD_JUMPR_STEP

tomtor
Posts: 22
Joined: Thu May 11, 2017 6:15 am

ULP: rel too far BFD_JUMPR_STEP

Postby tomtor » Sun Oct 08, 2017 7:46 pm

I get this error when the assembly file is somewhat bigger, but the displacement is still small!

This looks like an assembler bug, because the relative offset is constant and not depending on the code preceeding the jumpr

Code: Select all

.text
	nop
	...
	// 200 additional NOPs here
	...
	nop
	jumpr bug,1,ge
	nop
	nop
	nop
bug:
	nop	
This is a known bug:

https://github.com/espressif/binutils-esp32ulp/issues/4

Edit:

I worked around it by splitting the assembler files, see e.g.:

https://github.com/tomtor/ulp-i2c

and also:

https://github.com/espressif/esp-idf/pull/1092

Who is online

Users browsing this forum: No registered users and 61 guests