Re: [PATCH] Support -rdynamic on darwin12 and later

2015-04-28 Thread Mike Stump
On Apr 28, 2015, at 6:39 AM, Jack Howarth wrote: > The attached patch adds support for the -rdynamic compiler flag > on darwin12 and later. > Okay for gcc trunk? Jack was able to confirm that this doesn’t change darwin11. Ok.

[PATCH] Support -rdynamic on darwin12 and later

2015-04-28 Thread Jack Howarth
The attached patch adds support for the -rdynamic compiler flag on darwin12 and later. The darwin linker, starting with Xcode 5 on darwin12, added support for the associated new -export_dynamic linker flag. -export_dynamic Preserves all global symbols in main executables