VirtualBox

Changeset 46449 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jun 7, 2013 7:25:22 PM (11 years ago)
Author:
vboxsync
Message:

Config.kmk: Don't strip debug info from ELF mods, split it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r46432 r46449  
    768768# the debug packages containing symbols for gdb located in /usr/lib/debug.
    769769VBOX_DO_STRIP := $(if $(filter release profile,$(KBUILD_TYPE)),1,)
    770 # Strip R0/GC modules (current requirement for our loader)
    771 # TODO: This shouldn't be a requirement any longer. FIXME XXX
    772 VBOX_DO_STRIP_MODULES = 1
    773770
    774771
     
    28682865   TEMPLATE_VBoxRc_LDFLAGS           = -r
    28692866  else
    2870    TEMPLATE_VBoxRc_LDFLAGS           = -nostdlib -Bsymbolic
    2871    # "temporarily", must fix the loader.
    2872    TEMPLATE_VBoxRc_LDFLAGS          += $(if $(VBOX_DO_STRIP_MODULES),-S,)
    2873    TEMPLATE_VBoxRc_LDFLAGS.release   = $(if $(VBOX_DO_STRIP_MODULES),-S,)
     2867   TEMPLATE_VBoxRc_LDFLAGS           = -nostdlib -Bsymbolic -g
     2868   ## @todo WTF doesn't the globals work? Debug info is supposed to be split everywhere. GRR
     2869   TEMPLATE_VBoxRc_LD_DEBUG          = split
    28742870  endif
    28752871  ifn1of ($(KBUILD_TARGET), solaris freebsd)
     
    30053001 endif
    30063002else
    3007  TEMPLATE_VBoxR0_LDFLAGS            = -nostdlib -Bsymbolic
    3008  # temporarily, must fix the loader.
    3009  TEMPLATE_VBoxR0_LDFLAGS           += $(if $(VBOX_DO_STRIP_MODULES),-S,)
    3010  TEMPLATE_VBoxR0_LDFLAGS.release    = $(if $(VBOX_DO_STRIP_MODULES),-S,)
     3003 TEMPLATE_VBoxR0_LDFLAGS            = -nostdlib -Bsymbolic -g
     3004 ## @todo WTF doesn't the globals work? Debug info is supposed to be split everywhere. GRR
     3005 TEMPLATE_VBoxR0_LD_DEBUG           = split
    30113006endif
    30123007ifn1of ($(KBUILD_TARGET),solaris freebsd)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette