CVS commit: src/lib/csu
Warner Losh
imp at bsdimp.com
Wed Sep 11 19:51:09 UTC 2013
On Sep 11, 2013, at 8:49 AM, John Baldwin wrote:
> On Wednesday, September 11, 2013 4:21:15 am Andrew Turner wrote:
>> On Tue, 10 Sep 2013 21:12:51 -0600
>> Warner Losh <imp at bsdimp.com> wrote:
>>
>>> Perhaps we should do it too... I also like this elf-notes.html idea
>>> too...
>>
>> Something like the patch I've attached from the thread at [1]? It adds
>> a MACHINE_ARCH note type.
>
> bapt@ will want this for pkgng. It might be nice to go whole hog and store
> the entire triple (MACHINE, MACHINE_ARCH, MACHINE_CPUARCH).
MACHINE is just the kernel interface, might be only mildly useful to pkgng.
MACHINE_ARCH is useful since it uniquely defines the ABI we're using, by definition.
MACHINE_CPUARCH can be derived from MACHINE_ARCH and isn't actually useful to pkgng at all. It is a build-time value to select which files from our tree to build with.
Warner
More information about the freebsd-embedded
mailing list