This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

Re: [PATCH] powerpc: Change SDT argument constraint


segher wrote:

> [...]
>> >       Arguments: -4@9 -4@.LANCHOR0+44@toc@l(8) -4@.LANCHOR0+52@toc@l(
>> > 7)
>> > 
>> > The second and third argument shown above are both having
>> > operands which are pointers to static data anchors. Since
>> > these static anchors are not included in the symbol table,
>> > they cannot be resolved from the binary itself. So, such
>> > arguments cannot be read via their corresponding markers.

By the way, such local symbols would be saved rather dropped if the
assembler flags included -L.  Then stap should be able to resolve them.


> [...]
> I wonder why only PowerPC is hitting this problem though?

Analogous problems hit other platforms too.  Addressing mode
availability, register set sizes, or GOT-like policies seem to
affect the exact degree.


- FChE


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