r356113 used an older patch, which predated the
freebsd_copyout_auxargs() addition. Fix this by using a private
powerpc_copyout_auxargs() instead, and keep it private to powerpc, not in MI
files.
Details
Details
- Reviewers
kib brooks bdragon - Commits
- rS356129: Fix the powerpc copyout fixup from r356113
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Thank you for fixing this.
sys/powerpc/include/elf.h | ||
---|---|---|
141 ↗ | (On Diff #66024) | I would suggest to keep the symbols at the AT_ namespace, i.e. name them AT_OLD_NULL etc. |
sys/powerpc/powerpc/elf_common.c | ||
31 ↗ | (On Diff #66024) | The file lacks $FreeBSD$ tag, which will trigger the pre-commit hook. I wrote it there because you do not need to use any includes in this file, they should be provided by consumers. |
36 ↗ | (On Diff #66024) | style issue: initialization in declaration. |
Comment Actions
Tests went good.
It can boot an pre-130007 (tested with elfv2) world without crashing, and the old programs continue to work. It can also run new binaries (as expected.)