Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

.ARM.exidx may need to be ignored in LLD9 #197

Closed
jamesmunns opened this issue Jul 23, 2019 · 1 comment
Closed

.ARM.exidx may need to be ignored in LLD9 #197

jamesmunns opened this issue Jul 23, 2019 · 1 comment

Comments

@jamesmunns
Copy link
Member

Context in rust-lang/rust#62781.

Testing locally, adding a discard for *(.ARM.exidx); will prevent this error, or changing https://github.com/rust-embedded/cortex-m-rt/blob/master/link.x.in#L152 to *(.ARM.exidx*); both prevent linker errors. I am not sure which one is more idiomatic.

@adamgreig
Copy link
Member

I would add *(.ARM.exidx); separately to the .* one, which is what we do elsewhere in the linker script (e.g. .got .got.*) and seems to be more common practice.

bors bot added a commit that referenced this issue Jul 24, 2019
198: Discard .ARM.exidx, closes #197 r=thejpster a=adamgreig



Co-authored-by: Adam Greig <[email protected]>
@bors bors bot closed this as completed in 9112bca Jul 24, 2019
nickray added a commit to nickray/lpcxpresso55S69 that referenced this issue Aug 2, 2019
nickray added a commit to nickray/lpcxpresso55S69 that referenced this issue Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants