Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-08-05 Thread Iain Sandoe
> On 4 Aug 2019, at 21:42, Eric Botcazou wrote: > >> This patch has now been on mainline for some time without any apparent >> issue, the problem is also present on the open branches, may I backport it? > > OK, thanks. Done for 9.2. Iain

Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-08-04 Thread Eric Botcazou
> This patch has now been on mainline for some time without any apparent > issue, the problem is also present on the open branches, may I backport it? OK, thanks. -- Eric Botcazou

Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-08-04 Thread Iain Sandoe
Hi Eric, > On 30 Jun 2019, at 10:54, Eric Botcazou wrote: > >> 2019-06-30 Iain Sandoe >> >> * gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches. >> Push -shared-libgcc explicitly, when it is the target default (unless >> overidden by the static flag). >> When

Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-06-30 Thread Eric Botcazou
> 2019-06-30 Iain Sandoe > > * gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches. > Push -shared-libgcc explicitly, when it is the target default (unless > overidden by the static flag). > When the user has put an instance of shared/static-libgcc do not push >

[PATCH, Ada] Push -shared-libgcc where needed.

2019-06-30 Thread Iain Sandoe
Hi Eric, Gnatlink has code that checks for duplicate '-shared-libgcc’ switches (but not duplicate ‘static-libgcc’) and also pushes ’static-libgcc' onto the link line for targets that default to static linking, provided '-shared-libgcc' is not present. For targets that should use a shared libgcc