This is the mail archive of the gcc@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]

How can I retrieve section-attribute infomation in RTL


Hi all,

I am not sure the question have been asked in the past, however I was unable
to find any response in the archives. Any help would be appreciated.

Basically I am trying to port gcc to a RISC cpu architecture. It have two
program segments and two data segments.

I want my gcc can group the target code or data into different segments by
announcing section-attribute for some functions and variables in source
file.

But because be ensavled to the cpu, I should generate some additional ASM
code for crossing-segment data reference or function call.

So my question is:

For a RTL "call" insn pattern, how can I  retrieve section-attribute
infomation of the callee or caller functions.

Thanks!

Liyz.


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