Skip to content

Commit

Permalink
support/bsp_sources/target.py: remove -lgcc_eh from run-times switches
Browse files Browse the repository at this point in the history
For GNAT FSF builds we don't split libgcc and libgcc_eh.
  • Loading branch information
Fabien-Chouteau committed May 24, 2024
1 parent c69b62c commit 4386b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/bsp_sources/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def dump_runtime_xml(self, rts_name, rts):

ret += blank + \
'"-nostartfiles", "-nolibc", ' + \
'"-Wl,--start-group,-lgnarl,-lgnat,-lc,-lgcc,-lgcc_eh,--end-group",'
'"-Wl,--start-group,-lgnarl,-lgnat,-lc,-lgcc,--end-group",'

# Add the user script path first, so that they have precedence
ret += '\n' + blank + '"-L${RUNTIME_DIR(ada)}/ld_user"'
Expand Down

0 comments on commit 4386b1d

Please sign in to comment.