dongjianqiang2 wrote: > GCC's default spec file for Linux does not say how `-export-dynamic` > translates to ld `-export-dynamic`. > > I think ld `--export-dynamic` is exclusively caused by `-Wl,--export-dynamic` > or `-rdynamic`. Do you have any example of `gcc -export-dynamic` uses? > > > clang splits -export-dynamic into "-e" and "xport-dynamic" > > This behavior simulates GCC but the uses seem extremely rare or not used at > all. We probably should just reject `-exxx`: #72804
https://github.com/llvm/llvm-project/pull/72781 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits