git: crtstuff: Move ELF note definitions to dedicated header

John Marino marino at crater.dragonflybsd.org
Sat Mar 17 19:19:27 PDT 2012


commit 7ddb295fd0b0dc289b34853c355bae6492797271
Author: John Marino <draco at marino.st>
Date:   Sat Mar 17 12:15:04 2012 +0100

    crtstuff: Move ELF note definitions to dedicated header
    
    Currently only note.ABI-tag is defined in crt files for the purpose
    of identifying the operating system and version that created the binary.
    Soon a new type of note will be created to indicate whether crt is
    responsible for calling the _init function or not.  Creating a separate
    header avoids duplicate note definitions.

Summary of changes:
 lib/csu/common/crtbrand.c               |   30 ++++++++++++++----------------
 lib/csu/{i386/crtn.S => common/notes.h} |   18 +++++++++---------
 2 files changed, 23 insertions(+), 25 deletions(-)
 copy lib/csu/{i386/crtn.S => common/notes.h} (83%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ddb295fd0b0dc289b34853c355bae6492797271


-- 
DragonFly BSD source repository





More information about the Commits mailing list