Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347239
b: refs/heads/master
c: 6550162
h: refs/heads/master
i:
  347237: 7180739
  347235: 8e2fcc0
  347231: bc80f7c
v: v3
  • Loading branch information
Chris Zankel committed Dec 19, 2012
1 parent 1847027 commit 206133d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02b25d811f949fc70badd6535dfaf13a3c5decf9
refs/heads/master: 6550162200b40d1e725167f8a617255c42b57552
13 changes: 11 additions & 2 deletions trunk/arch/xtensa/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ menu "Kernel hacking"

source "lib/Kconfig.debug"

endmenu

config LD_NO_RELAX
bool "Disable linker relaxation"
default n
help
Enable this function to disable link-time optimizations.
The default linker behavior is to combine identical literal
values to reduce code size and remove unnecessary overhead from
assembler-generated 'longcall' sequences.
Enabling this option improves the link time but increases the
code size, and possibly execution time.

endmenu
4 changes: 4 additions & 0 deletions trunk/arch/xtensa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ KBUILD_CFLAGS += -pipe -mlongcalls

KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,)

ifneq ($(CONFIG_LD_NO_RELAX),)
LDFLAGS := --no-relax
endif

vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y))
plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y))

Expand Down

0 comments on commit 206133d

Please sign in to comment.