PowerPC64 uses function descriptors in a section .opd, exporting the descriptors
to the symbol table. This adds support for these into dt_link.c so that dtrace
USDT probes can be compiled.
Details
Details
Tested only on powerpc64. No regression testing has been performed, so I want
someone with x86 hardware to regression test this.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
This looks good to me; I'll be able to test it on x86 over the weekend.
cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c | ||
---|---|---|
688 | Don't you still need to keep the powerpc32 case? |
Comment Actions
Seems to work properly on amd64. Thanks!
cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c | ||
---|---|---|
688 | Answering my own question: no, because this function handles only 64-bit architectures. |