git: rtld: Sync 7/7 - Use symbol versioning instead of exports mapping

John Marino marino at crater.dragonflybsd.org
Thu Jun 13 04:13:18 PDT 2013


commit f03f3171fe44809e96c5a44ba58bcc9a753127a7
Author: John Marino <draco at marino.st>
Date:   Thu Jun 13 09:19:29 2013 +0200

    rtld: Sync 7/7 - Use symbol versioning instead of exports mapping
    
    Now that DragonFly has the symbol versioning framework in place, rtld
    can leverage it by offloading the symbol export duties to it.  This
    further reduces differences between FreeBSD and DragonFly linkers.
    Keeping the exports table up to date after FreeBSD removed it was extra
    work.

Summary of changes:
 libexec/rtld-elf/Makefile        | 14 +++++++++++
 libexec/rtld-elf/Symbol.map      | 24 +++++++++++++++++++
 libexec/rtld-elf/i386/Symbol.map |  3 +++
 libexec/rtld-elf/rtld.c          | 52 +++-------------------------------------
 4 files changed, 44 insertions(+), 49 deletions(-)
 create mode 100644 libexec/rtld-elf/Symbol.map
 create mode 100644 libexec/rtld-elf/i386/Symbol.map

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f03f3171fe44809e96c5a44ba58bcc9a753127a7


-- 
DragonFly BSD source repository


More information about the Commits mailing list