Add DISCARD section in link_map.ld

I’m using lld as the linker and it would cause a failure if the following lines are not included in the link_map.ld:

/DISCARD/ :
{
    *(.ARM.exidx)
}

it would be awesome if this could be included into the file by default

1 Like

@dave what do you think?

Seems fine to me. Apparently the ARM.exidx (and ARM.extab) sections are used for unwinding stack traces, which we aren’t doing.

1 Like

@igaryhe Can you DM me a copy of the file that’s working for you?

@james just sent you the message. i’m not familiar with discourse so if you didn’t receive it please let me know!