Skip to content

Commit a43829b

Browse files
Merge branch 'main' into syscall-api
2 parents fd9d34a + bf598c3 commit a43829b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

aarch32-rt/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313

1414
- Reworked stack allocation (PR #93)
1515
- Changed `#[entry]`, `#[exception]` and `#[irq]` to hide the handler function
16+
- Discard `.ARM.exidx` and `.ARM.extab` sections/symbols which are not relevant and could
17+
otherwise be placed at wrong locations.
1618

1719
## [aarch32-rt v0.1.0]
1820

aarch32-rt/link.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ SECTIONS {
117117

118118
/DISCARD/ : {
119119
*(.note .note*)
120+
/* Discard these unwinding/exception related symbols, they are not used */
121+
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
122+
/* Discard these exception related symbols, they are not used */
123+
*(.ARM.extab* .gnu.linkonce.armextab.*)
120124
}
121125
}
122126

0 commit comments

Comments
 (0)