binutils-esp32ulp icon indicating copy to clipboard operation
binutils-esp32ulp copied to clipboard

Added BFD_RELOC_32 relocation.

Open Molorius opened this issue 2 years ago • 0 comments

This adds the BFD_RELOC_32 relocation to esp32 and esp32s2. Tested with both.

This allows you to use the address of a label as a number, such as:

    .data
important:
    .long 0

important_addr:
    .long important

Tested with both the label and the number in different sections, different .S files, etc. I can provide a test project if needed.

Molorius avatar Sep 06 '22 22:09 Molorius