This is only the -cc1 default, not the clang default, and its choice is somewhat arbitrary.
- Daniel On Mon, Nov 30, 2009 at 1:49 AM, Sylvere Teissier <[email protected]> wrote: > >> ============================================================================== >> --- cfe/trunk/tools/clang-cc/Options.cpp (original) >> +++ cfe/trunk/tools/clang-cc/Options.cpp Sun Nov 29 01:18:39 2009 > >> +static llvm::cl::opt<std::string> >> +MRelocationModel("mrelocation-model", >> + llvm::cl::desc("The relocation model to use"), >> + llvm::cl::init("pic")); >> + > > Is PIC a good choice for default relocation model? Why? > >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
