Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22006

Declare a symbol's type in ldscript

$
0
0

I want to declare the type (specifically STT_FUNC) of a symbol that I declared in my ldscript.

Is such thing possible, and if it is then how?

For example, I have the following:

funcy = 0x11223344;

I would like to do something like:

funcy = FUNCTION(0x11223344);

Viewing all articles
Browse latest Browse all 22006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>