Changeset 58e7b26 in mainline for uspace/lib/c/arch


Ignore:
Timestamp:
2018-08-31T19:10:47Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be34d6f
Parents:
bbe5e34
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-20 18:54:48)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-31 19:10:47)
Message:

Make uspace hosted.

Location:
uspace/lib/c/arch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/amd64/Makefile.common

    rbbe5e34 r58e7b26  
    2727#
    2828
     29# TODO: We need to implement DWARF unwinding and get rid of this flag.
    2930COMMON_CFLAGS += -fno-omit-frame-pointer
    3031
    31 # XXX: clang doesn't support this flag, but the optimization is OS-specific,
    32 #      so it isn't used for amd64-unknown-elf target.
    33 
    34 ifneq ($(COMPILER),clang)
    35         COMMON_CFLAGS += -mno-tls-direct-seg-refs
    36 endif
     32# XXX: This architecture requires unoptimized TLS pointer access,
     33#      as with the GCC option `-mno-tls-direct-seg-refs`.
     34#      The `amd64-helenos` target defaults to this behavior.
    3735
    3836LDFLAGS += -Wl,--gc-sections
  • uspace/lib/c/arch/ia32/Makefile.common

    rbbe5e34 r58e7b26  
    3333endif
    3434
     35# XXX: This architecture requires unoptimized TLS pointer access,
     36#      as with the GCC option `-mno-tls-direct-seg-refs`.
     37#      The `i686-helenos` target defaults to this behavior.
     38
    3539COMMON_CFLAGS += -mno-tls-direct-seg-refs -fno-omit-frame-pointer
    3640LDFLAGS += -Wl,--gc-sections
Note: See TracChangeset for help on using the changeset viewer.