diff options
Diffstat (limited to 'bsps/x86_64/amd64/config/amd64.cfg')
-rw-r--r-- | bsps/x86_64/amd64/config/amd64.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bsps/x86_64/amd64/config/amd64.cfg b/bsps/x86_64/amd64/config/amd64.cfg new file mode 100644 index 0000000000..3c4492d9d3 --- /dev/null +++ b/bsps/x86_64/amd64/config/amd64.cfg @@ -0,0 +1,13 @@ +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = x86_64 + +CFLAGS_OPTIMIZE_V += -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +# We can't have the red zone because interrupts will not respect that area. +CPU_CFLAGS = -mno-red-zone +# This flag tells GCC to not assume values will fit in 32-bit registers. This +# way we can avoid linker-time relocation errors spawning from values being +# larger than their optimized container sizes. +CPU_CFLAGS += -mcmodel=large |