git: platform: Move debug sections to a common linker script

Aaron LI aly at crater.dragonflybsd.org
Sun Jun 21 03:01:57 PDT 2026


commit ffa7f0982dc2c9e3f346a198fb569c6e5010450a
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jun 21 13:45:30 2026 +0800

    platform: Move debug sections to a common linker script
    
    In addition, sync the debug sections with FreeBSD's to add DWARF 4 and 5.
    
    Obtained-from: FreeBSD (https://reviews.freebsd.org/D44071)

Summary of changes:
 .../DWARF.sc => sys/conf/debuginfo.ldscript        | 34 ++++++++----------
 sys/conf/kern.pre.mk                               |  2 +-
 sys/platform/pc64/conf/ldscript.x86_64             | 40 +++-------------------
 sys/platform/vkernel64/conf/ldscript.x86_64        | 40 +++-------------------
 4 files changed, 24 insertions(+), 92 deletions(-)
 copy contrib/binutils-2.27/ld/scripttempl/DWARF.sc => sys/conf/debuginfo.ldscript (66%)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list