Changeset acbe98f in examples-v2


Ignore:
Timestamp:
Nov 25, 2013, 9:50:48 PM (5 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
e966c73
Parents:
bfc576f
git-author:
Gedare Bloom <gedare@…> (11/25/13 21:50:48)
git-committer:
Gedare Bloom <gedare@…> (12/12/13 19:55:54)
Message:

rtems.py: add tweak for gc-sections link flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtems_waf/rtems.py

    rbfc576f racbe98f  
    216216    if re.match('i386-.*-pc[3456]86', arch_bsp) is not None:
    217217        conf.env.LINKFLAGS += ['-Wl,-Ttext,0x00100000']
     218
     219    if '-ffunction-sections' in conf.env.CFLAGS:
     220      conf.env.LINKFLAGS += ['-Wl,--gc-sections']
    218221
    219222def check_options(ctx, rtems_tools, rtems_path, rtems_version, rtems_archs, rtems_bsps):
Note: See TracChangeset for help on using the changeset viewer.