Re: How to insert reference to external symbol in RTL properly?

2019-06-01 Thread Arslan Khan
is already doing that? Thanks, Arslan On Fri, May 31, 2019 at 4:37 AM Richard Biener wrote: > > On Wed, May 29, 2019 at 11:50 PM Arslan Khan wrote: > > > > Are you suggesting that i insert an extern at source level? Wouldn't > > that decrease the usability

Re: How to insert reference to external symbol in RTL properly?

2019-05-29 Thread Arslan Khan
ld be cumbersome. Besides that even i do that, is there a symbol table maintained by GCC that i can use to access this in an RTL pass? Thanks, Arslan On Wed, May 29, 2019 at 3:17 AM Richard Biener wrote: > > On Tue, May 28, 2019 at 1:01 AM Arslan Khan wrote: > > > > Hi, > > I am a

How to insert reference to external symbol in RTL properly?

2019-05-27 Thread Arslan Khan
Hi, I am a beginner to GCC and am trying to implement safe stack using a GCC Plugin for embedded systems. I am using a cross compiler, with GCC version: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2018-q4-major) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437] The s