VirtualBox

Ignore:
Timestamp:
Nov 12, 2015 9:16:35 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: Use -d1 instead of -d2 or -d1+ since it doesn't seem to affect the generated code as much and we currently don't give a hoot about types. Line numbers and symbols suffices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r58675 r58680  
    166166
    167167# BS3Kit template for assembly and 16-bit code.
     168# Note! Using -d1 as -d1+ and -d2 causes suboptimal code to be generated (strlen
     169#       reloading string pointer argument all the time).
     170# Note! Optimization options should come after debug stuff as -d2 for instance
     171#       disables all optimziations.
    168172TEMPLATE_VBoxBS3KitImg = Template for building BS3Kit test images.
    169173TEMPLATE_VBoxBS3KitImg_BLD_TRG      = os-agnostic
     
    179183TEMPLATE_VBoxBS3KitImg_CTOOL        = OPENWATCOM-16
    180184TEMPLATE_VBoxBS3KitImg_CXXTOOL      = OPENWATCOM-16
    181 TEMPLATE_VBoxBS3KitImg_CFLAGS       = -nt=BS3TEXT16 -nd=BS3DATA16 -nc=BS3CODE16 -ecc -q -3 -wx -zl -zu -s -oafs -mc $(BS3_OW_DBG_OPT) -d2
    182 TEMPLATE_VBoxBS3KitImg_CXXFLAGS     = -nt=BS3TEXT16 -nd=BS3DATA16 -nc=BS3CODE16 -ecc -q -3 -wx -zl -zu -s -oafs -mc $(BS3_OW_DBG_OPT) -d2
     185TEMPLATE_VBoxBS3KitImg_CFLAGS       = \
     186        -nt=BS3TEXT16 -nd=BS3DATA16 -nc=BS3CODE16 -ecc -q -3 -wx -zl -zu -mc $(BS3_OW_DBG_OPT) -d1 -s -oa -ob -of -oi -ol -or -os
     187TEMPLATE_VBoxBS3KitImg_CXXFLAGS     = \
     188        -nt=BS3TEXT16 -nd=BS3DATA16 -nc=BS3CODE16 -ecc -q -3 -wx -zl -zu -mc $(BS3_OW_DBG_OPT) -d1 -s -oa -ob -of -oi -ol -or -os
    183189TEMPLATE_VBoxBS3KitImg_INCS         = $(VBOX_PATH_BS3KIT_SRC) .
    184190TEMPLATE_VBoxBS3KitImg_LDTOOL       = OPENWATCOM-WL
     
    244250TEMPLATE_VBoxBS3KitImg32_CTOOL        = OPENWATCOM
    245251TEMPLATE_VBoxBS3KitImg32_CXXTOOL      = OPENWATCOM
    246 TEMPLATE_VBoxBS3KitImg32_CFLAGS       = -nt=BS3TEXT32 -nd=BS3DATA32 -nc=BS3CODE32 -ecc -q -wx -zu -zl -s -oas -mf $(BS3_OW_DBG_OPT) -d2
    247 TEMPLATE_VBoxBS3KitImg32_CXXFLAGS     = -nt=BS3TEXT32 -nd=BS3DATA32 -nc=BS3CODE32 -ecc -q -wx -zu -zl -s -oas -mf $(BS3_OW_DBG_OPT) -d2
     252TEMPLATE_VBoxBS3KitImg32_CFLAGS       = \
     253        -nt=BS3TEXT32 -nd=BS3DATA32 -nc=BS3CODE32 -ecc -q -wx -zu -zl -mf $(BS3_OW_DBG_OPT) -d1 -s -oa -ob -of -oi -ol -or -os
     254TEMPLATE_VBoxBS3KitImg32_CXXFLAGS     = \
     255        -nt=BS3TEXT32 -nd=BS3DATA32 -nc=BS3CODE32 -ecc -q -wx -zu -zl -mf $(BS3_OW_DBG_OPT) -d1 -s -oa -ob -of -oi -ol -or -os
    248256TEMPLATE_VBoxBS3KitImg32_INCS         = $(VBOX_PATH_BS3KIT_SRC) .
    249257TEMPLATE_VBoxBS3KitImg32_LDTOOL       = VBoxBsUnusedLd
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