Skip to content

Commit

Permalink
Discard unused .note.* sections when linking IOP modules
Browse files Browse the repository at this point in the history
This is a fix for errors such as:

mipsr5900el-unknown-linux-gnu-ld: error: unplaced orphan section `.note.GNU-stack'

Reported-by: Tobias Gruetzmacher
Signed-off-by: Fredrik Noring <noring@nocrew.org>
  • Loading branch information
frno7 committed May 21, 2020
1 parent 13732bf commit a5d2360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/iop.ld
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ SECTIONS
*(.gnu.attributes)
*(.mdebug.*)
*(.MIPS.*)
*(.note.*)
*(.pdr)
*(.reginfo)
*(.rel.dyn)
Expand Down

0 comments on commit a5d2360

Please sign in to comment.