PIC on IA-64

PIC on IA-64

While browsing the TBB build scripts, I noted this code block and comment:

ifeq (itanium,$(arch))
# Position-independent code (PIC) is a must on IA-64, even for regular (not shared) executables
CPLUS_FLAGS += $(PIC_KEY)
endif

I was searching for verification of this but couldn't find any. Can you post a reference? Also, when referring to IA-64, is this only Itaniums, or does it include Core processors, etc.?

Thanks,
Evan

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

IA-64 refers to the architecture ofIntelItanium processors. You can find many useful information about IA-64 here: http://www.intel.com/design/itanium2/documentation.htm?=Itanium2+tab_technical_docs. In particular, look at "Intel Itanium Software Conventions and Runtime Architecture Guide" and "Intel Itanium Processor-Specific Application Binary Interface (ABI)" and search for "position-independent" there.

发表评论

登录添加评论。还不是成员?立即加入