this PR initially solves :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239805
furthermore it would be nice if we could work on pid-provider-support for aarch64 :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241028#c0
Differential D22360
initial linker support userland-DTrace aarch64 maciphone2_googlemail.com on Nov 14 2019, 5:36 AM. Authored by Tags None Referenced Files
Details this PR initially solves : furthermore it would be nice if we could work on pid-provider-support for aarch64 :
Diff Detail
Event Timeline
Comment Actions I tested the change and I can at least compile the USDT tests. There's no way to run them though since we do not have a fasttrap implementation for arm64. Do you have any plan to add one? It should be relatively straightforward to support USDT probes. (pid provider is more work.) If you change the relocation type I'll commit.
Comment Actions Yes, I called PR 'Initial Support' so WE can start << If you change the relocation type I'll commit.>> #define R_AARCH64_PREL64 260 rel->r_offset = s->dofs_offset + dofr[j].dofr_offset; rel->r_info = ELF64_R_INFO(count + dep->de_global, R_AARCH64_PREL64); or something like that ? << Do you have any plan to add one? >> We/you probably have no choice but to design a plan the next days or weeks :-) ---edit:-- Comment Actions from absolute to relative relocation type : Comment Actions Yes, it is required for the code to be correct.
I do not have much time for that in the near future, but I am happy to answer questions and review code.
|