Re: [ARM] mno-pic-data-is-text-relative & msingle-pic-base

2016-08-26 Thread Irfan Ahmad
something, -mSPB can be made to imply -mno-PDITR as this is the typical usage for -mSPB. So Nathan's patch should have been the other way around: -mSPB should imply -mno-PDITR rather than -mno-PDITR implying -mSPB. Thanks, Irfan Ahmad On Fri, Aug 5, 2016 at 2:12 PM, Joey Ye wrote: &g

Re: [ARM] mno-pic-data-is-text-relative & msingle-pic-base

2016-08-04 Thread Irfan Ahmad
x27;t see how the twain can > meet. That can happen as a follow-up - the current patch is by itself a step > improvement. Please see the alternative perspective as described below. Irfan Ahmad [p.s. Sorry about repeat send. I accidentally sent it

RE: [ARM] mno-pic-data-is-text-relative & msingle-pic-base

2016-08-04 Thread Irfan Ahmad
ently of CODE segment. From #2: Only one instance of GOT is required per dynamic object so there is no need for a mechanism (-mSPB) that would enable switching GOTs. So when both #1 and #2 are met, you only need -mno-pic-data-is-text-relative. Irfan Ahmad