[Bug 263406] Reduce contents of a.out.h and remove machine/reloc.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Apr 2022 20:42:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263406

            Bug ID: 263406
           Summary: Reduce contents of a.out.h and remove machine/reloc.h
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: brooks@FreeBSD.org
             Flags: exp-run?

Created attachment 233317
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233317&action=edit
Reduce contents of a.out.h and remove machine/reloc.h

My reloc.h-tidying branch on GitHub
(https://github.com/brooksdavis/freebsd/tree/reloc.h-tidying) contains a series
of patches to make move of a.out.h a no-op on non-x86 and remove
machine/reloc.h (empty on all by amd64, arm, and i386). It has previously
passed a tinderbox build, but there's some chance machine/reloc.h is being
included in a port or that more of a.out.h is being relied on that then nlist
bits used by nlist(3). 

If resources are available, a run on a non-x86 architecture would be more
informative.

The attached patch is suitable for use with `git am`. (It contains the renaming
of a file so I'm not 100% sure what patch will do with it.)

-- 
You are receiving this mail because:
You are the assignee for the bug.