Remove the action of using objcopy to add debug link section. In UNIXGCC tool chain...
authorklu2 <klu2@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 23 Dec 2009 01:58:45 +0000 (01:58 +0000)
committerklu2 <klu2@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 23 Dec 2009 01:58:45 +0000 (01:58 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1777 7335b38e-4728-0410-8992-fb3ffe349368

Conf/build_rule.template

index d9c2008..a77af55 100644 (file)
         "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) -\) $(DLINK2_FLAGS)\r
         "$(OBJCOPY)" --only-keep-debug ${dst} $(DEBUG_DIR)(+)$(MODULE_NAME).pdb\r
         "$(OBJCOPY)" -S ${dst}\r
-        "$(OBJCOPY)" --add-gnu-debuglink=$(DEBUG_DIR)(+)$(MODULE_NAME).pdb ${dst}\r
         "$(OBJCOPY)" $(OBJCOPY_FLAGS) ${dst}\r
 \r
     <Command.RVCT>\r