Page MenuHomeFreeBSD

crunchide: always include both 32- and 64-bit ELF for cross builds
ClosedPublic

Authored by emaste on Apr 17 2015, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 6:23 PM
Unknown Object (File)
Wed, Dec 4, 6:20 PM
Unknown Object (File)
Nov 3 2024, 5:49 PM
Unknown Object (File)
Nov 3 2024, 10:24 AM
Unknown Object (File)
Nov 3 2024, 10:24 AM
Unknown Object (File)
Nov 3 2024, 10:06 AM
Unknown Object (File)
Nov 2 2024, 4:03 AM
Unknown Object (File)
Nov 1 2024, 10:27 PM
Subscribers
None

Details

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to crunchide: always include both 32- and 64-bit ELF for cross builds.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: imp, rodrigc, jhb.
usr.sbin/crunch/crunchide/exec_elf32.c
181

While you are cleaning up, do we need all these ifndef for things that we define in the base?

usr.sbin/crunch/crunchide/exec_elf32.c
181

almost certainly not, but I'd rather do it as a subsequent commit

emaste added a reviewer: emaste.
This revision is now accepted and ready to land.Apr 18 2015, 12:17 AM

Another possible cleanup would be to rename elf_exec32.c to elf_exec.c and have elf_exec32.c look like elf_exec64.c where both of them just set ELFSIZE and include the common file (this is what we do in other places). That would be a follow up though.

In D2314#8, @jhb wrote:

Another possible cleanup would be to rename elf_exec32.c to elf_exec.c and have elf_exec32.c look like elf_exec64.c where both of them just set ELFSIZE and include the common file (this is what we do in other places). That would be a follow up though.

Yeah. I recently discovered that NetBSD has a number of crunch* improvements, so we might want to look at importing it as vendor source, or cherry-pick changes from there.