Page MenuHomeFreeBSD

Consolidate identical ELF auxargs type defintions.
ClosedPublic

Authored by brooks on Oct 3 2018, 11:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 1:18 PM
Unknown Object (File)
Fri, Jan 17, 6:05 PM
Unknown Object (File)
Wed, Jan 15, 10:50 PM
Unknown Object (File)
Dec 12 2024, 6:21 PM
Unknown Object (File)
Oct 18 2024, 8:21 PM
Unknown Object (File)
Oct 18 2024, 8:21 PM
Unknown Object (File)
Oct 18 2024, 8:21 PM
Unknown Object (File)
Oct 18 2024, 8:21 PM
Subscribers

Details

Summary

All platforms except powerpc use the same values and powerpc shares a majority of them.

Go ahead and declare AT_NOTELF, AT_UID, and AT_EUID in favor of the unused AT_DCACHEBSIZE, AT_ICACHEBSIZE, and AT_UCACHEBSIZE for powerpc as the supposed conflict doesn't matter

Test Plan

universe build

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19982
Build 19489: arc lint + arc unit

Event Timeline

Actually, my plan is to just change them on powerpc and have them unified across the board. They should then really just live in sys/elf_common.h. I think if we want to move them now we should just move them and maybe add some #ifdef powerpc that we eventually remove when renumbering powerpc's vectors. I think the actual renumbering change is probably too big of a change during code freeze.

  • Move all of AT_* to sys/elf_common.h with powerpc ifdefs.
This revision is now accepted and ready to land.Oct 4 2018, 9:08 PM

Universe builds except for the perennially broken riscv64sf. Tested amd64 with new and old user land and kernel in all parings (new, old; old, new; new, new).

imp added a subscriber: imp.

Love the deduplication of code.
No clue if it will work :)

This revision was automatically updated to reflect the committed changes.