Ignore:
Timestamp:
Aug 3, 2011, 11:51:30 AM (14 years ago)
Author:
bird
Message:

tools/G*: debug splitting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GXX3.kmk

    r2534 r2541  
    275275                $(call TOOL_GXX3_LD_MAP,$(outbase).map)
    276276 ifeq ($(ld_debug),split)
    277         $(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
     277        $(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
    278278        $(CHMOD) a-x $(outbase).debug
    279         $(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
     279        $(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
    280280 endif
    281281endef
     
    304304define TOOL_GXX3_LINK_DLL_CMDS
    305305        $(QUIET)$(TOOL_GXX3_LD) $(TOOL_GXX3_LDFLAGS.dll) $(flags) -o $(out)\
    306                 $(if $(filter-out win32 os2, $(KBUILD_TARGET)),$(call TOOL_GXX3_LD_SONAME,$(target),$(out)))\
     306                $(if $(filter-out win os2, $(KBUILD_TARGET)),$(call TOOL_GXX3_LD_SONAME,$(target),$(out)))\
    307307                $(objs)\
    308308                $(filter %.def, $(othersrc))\
     
    311311                $(call TOOL_GXX3_LD_MAP,$(outbase).map)
    312312 ifeq ($(ld_debug),split)
    313         $(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
     313        $(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
    314314        $(CHMOD) a-x $(outbase).debug
    315         $(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
     315        $(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
    316316 endif
    317317endef
     
    345345                $(call TOOL_GXX3_LD_SYSMOD_MAP,$(outbase).map)
    346346 ifeq ($(ld_debug),split)
    347         $(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
     347        $(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug
    348348        $(CHMOD) a-x $(outbase).debug
    349         $(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
     349        $(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)
    350350 endif
    351351endef
Note: See TracChangeset for help on using the changeset viewer.