components/gcc4/Makefile
changeset 7245 934578b959f0
parent 6923 338aea22bf22
child 7297 fbb1e830e28f
equal deleted inserted replaced
7244:0d8fd6bb915f 7245:934578b959f0
    68 # /usr/lib/ld/map.noexdata destroys Intel
    68 # /usr/lib/ld/map.noexdata destroys Intel
    69 LD_MAP_NOEXDATA.i386=
    69 LD_MAP_NOEXDATA.i386=
    70 
    70 
    71 # /usr/lib/ld/map.noexbss destroys SPARC
    71 # /usr/lib/ld/map.noexbss destroys SPARC
    72 LD_MAP_NOEXBSS.sparc=
    72 LD_MAP_NOEXBSS.sparc=
       
    73 
       
    74 # Mapfiles map.noexdata and map.noexbss mark the data + bss and bss
       
    75 # segments non executable on x86 and SPARC respectively. The protection
       
    76 # extends to the heap segment, if the heap is brk based, as is the case
       
    77 # with gcc. Since the introduction of NXHEAP, this is controlled
       
    78 # separately by the NXHEAP extension itself. Whether the heap should be
       
    79 # executable or not should be reevaluated. For now, try to avoid
       
    80 # "destruction" as hinted above.
       
    81 NXHEAP_MODE = $(NXHEAP_DISABLE)
    73 
    82 
    74 # for some reason the fixincludes target fails with bash on Solaris.
    83 # for some reason the fixincludes target fails with bash on Solaris.
    75 CONFIG_SHELL = /bin/sh
    84 CONFIG_SHELL = /bin/sh
    76 MAKESHELL = /bin/sh
    85 MAKESHELL = /bin/sh
    77 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)
    86 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)