tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: On upgrading elftoolchain in src/



On Sat, Mar 27, 2021 at 07:16:02PM +0700, Robert Elz wrote:
 >   | That doesn't mean it can't _live_ in sys/; installing a symlink like
 >   | the one for stdbool.h is a reasonable proposition.
 > 
 > I'd suggest a separate <elfdefinitions.h> which #includes <sys/elfdefinitions.h>
 > to access the definitions shared with the kernel - that way it can also
 > (now, or perhaps in the future) get userland only definitions (lib* prototypes
 > etc) without needing ugly #ifndef _KERNEL stuff added.

As long as the proper user-facing name is there, changing it from a
symlink to a file later is easy.

 >   | (sometime when we finally move away from CVS the kernel/libc include
 >   | sharing will get rationalized...)
 > 
 > Unless you mean that that will provide the incentive for rationalisation,
 > just because lots will be changing anyway, I don't see the relationship
 > to the VCS used.

It involves a lot of massrenaming. CVS doesn't have rename.

 > Since this is (more or less) new, it should be done properly now, one
 > less thing to deal with later.

Right.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index