projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix romstage creation with gcc 4.6 and CAR targets
[coreboot.git]
/
src
/
arch
/
x86
/
Makefile.inc
diff --git
a/src/arch/x86/Makefile.inc
b/src/arch/x86/Makefile.inc
index e9c00deac337ed06871077cf6fb6a9b3db709cc6..65c2a922478377d4e6925879889361d0557eb5dd 100755
(executable)
--- a/
src/arch/x86/Makefile.inc
+++ b/
src/arch/x86/Makefile.inc
@@
-247,7
+247,8
@@
$(obj)/mainboard/$(MAINBOARDDIR)/romstage.pre.inc: $(src)/mainboard/$(MAINBOARDD
$(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc: $(obj)/mainboard/$(MAINBOARDDIR)/romstage.pre.inc
@printf " POST romstage.inc\n"
$(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc: $(obj)/mainboard/$(MAINBOARDDIR)/romstage.pre.inc
@printf " POST romstage.inc\n"
- sed -e 's/\.rodata/.rom.data/g' -e 's/\.text/.section .rom.text/g' $^ > $@.tmp
+ sed -e 's/\.rodata/.rom.data/g' -e 's/\^\.text/.section .rom.text/g' \
+ -e 's/\^\.section \.text/.section .rom.text/g' $^ > $@.tmp
mv $@.tmp $@
endif
mv $@.tmp $@
endif