Skip to content

Commit

Permalink
Add comment why --gc-sections is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-m committed Mar 10, 2006
1 parent 2ed1ec2 commit 89736cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rules.mak
Expand Up @@ -358,6 +358,7 @@ endif
#CFLAGS += $(call check_gcc,-std=c99,)

LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
# binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok
#LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections)

ifeq ($(UCLIBC_BUILD_RELRO),y)
Expand Down

0 comments on commit 89736cf

Please sign in to comment.