summaryrefslogtreecommitdiff
path: root/include/asm-avr32/arch-at32ap7000/clk.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-18 17:32:31 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:27 +0200
commit28c699ef69f4b6cdf252e4747b7b590028a88981 (patch)
tree32dd77d4e89a41a683fa1dad36d6cd858df6f2aa /include/asm-avr32/arch-at32ap7000/clk.h
parent5374b36de91d006d1df9536259fa9f66b01aa3aa (diff)
downloadu-boot-imx-28c699ef69f4b6cdf252e4747b7b590028a88981.zip
u-boot-imx-28c699ef69f4b6cdf252e4747b7b590028a88981.tar.gz
u-boot-imx-28c699ef69f4b6cdf252e4747b7b590028a88981.tar.bz2
AVR32: Build position-independent u-boot
Add -fPIC -mno-init-got to the avr32-specific CFLAGS to make u-boot position independent. This will make relocation a lot easier. -mno-init-got means that gcc shouldn't emit code to load the GOT address into r6 in every function prologue. We do it once and for all in the early startup assembly code, so enabling this option makes u-boot a bit faster and smaller. The assembly parts have always been position-independent, so no code changes should be necessary. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/arch-at32ap7000/clk.h')
0 files changed, 0 insertions, 0 deletions