Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40127
b: refs/heads/master
c: cdfce1f
h: refs/heads/master
i:
  40125: b426a00
  40123: f5b0ec4
  40119: 0452e60
  40111: 51d3431
  40095: bf042a5
  40063: 4997629
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Oct 21, 2006
1 parent e2928c0 commit d737a25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73bb8919b33d42cf75a0ed89bc9ca6a7128665be
refs/heads/master: cdfce1f5714fec7b24715f569b2fee1607350a6d
4 changes: 4 additions & 0 deletions trunk/arch/i386/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ cflags-$(CONFIG_REGPARM) += -mregparm=3
# temporary until string.h is fixed
cflags-y += -ffreestanding

# this works around some issues with generating unwind tables in older gccs
# newer gccs do it by default
cflags-y += -maccumulate-outgoing-args

# Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use
# a lot more stack due to the lack of sharing of stacklots:
CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then echo $(call cc-option,-fno-unit-at-a-time); fi ;)
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ endif
cflags-y += $(call cc-option,-funit-at-a-time)
# prevent gcc from generating any FP code by mistake
cflags-y += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
# this works around some issues with generating unwind tables in older gccs
# newer gccs do it by default
cflags-y += -maccumulate-outgoing-args

# do binutils support CFI?
cflags-y += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
Expand Down

0 comments on commit d737a25

Please sign in to comment.