This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__STATIC__ just a bit wrong on darwin


Well, further testing shows that x86_64 defines __DYNAMIC__ when - static is passed because it turns on flag_pic unconditionally and some people expect __STATIC__ to be defined in that case, so we undo this portion of my recent patch.

Eric, do we really want flag_pic turned on when -static or -fno-pic is given?

Checked in to mainline and 4.2. Built on i386-apple-darwin9.0.0d3.

Radar 4804385

Attachment: mkernel-2.diffs.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]