diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/config.mk | 9 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8260/kgdb.S | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/release.S | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/cache.S | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/release.S | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/kgdb.S | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/kgdb.S | 1 |
7 files changed, 5 insertions, 10 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index fec02f2..4110396 100644 --- a/arch/powerpc/config.mk +++ b/arch/powerpc/config.mk @@ -12,10 +12,11 @@ endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 LDFLAGS_FINAL += --gc-sections LDFLAGS_FINAL += --bss-plt -PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections \ - -meabi -PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -PLATFORM_LDFLAGS += -n +PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections \ +-fdata-sections -mcall-linux + +PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32 +PLATFORM_LDFLAGS += -m32 -melf32ppclinux # Support generic board on PPC __HAVE_ARCH_GENERIC_BOARD := y diff --git a/arch/powerpc/cpu/mpc8260/kgdb.S b/arch/powerpc/cpu/mpc8260/kgdb.S index 1432344..bc9c628 100644 --- a/arch/powerpc/cpu/mpc8260/kgdb.S +++ b/arch/powerpc/cpu/mpc8260/kgdb.S @@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <mpc8260.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/arch/powerpc/cpu/mpc85xx/release.S b/arch/powerpc/cpu/mpc85xx/release.S index a2c0ad4..0e0daf5 100644 --- a/arch/powerpc/cpu/mpc85xx/release.S +++ b/arch/powerpc/cpu/mpc85xx/release.S @@ -8,7 +8,6 @@ #include <asm-offsets.h> #include <config.h> #include <mpc85xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/arch/powerpc/cpu/mpc86xx/cache.S b/arch/powerpc/cpu/mpc86xx/cache.S index 0bb058b..536d9b9 100644 --- a/arch/powerpc/cpu/mpc86xx/cache.S +++ b/arch/powerpc/cpu/mpc86xx/cache.S @@ -1,6 +1,5 @@ #include <config.h> #include <mpc86xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/arch/powerpc/cpu/mpc86xx/release.S b/arch/powerpc/cpu/mpc86xx/release.S index 461f6ec..3977049 100644 --- a/arch/powerpc/cpu/mpc86xx/release.S +++ b/arch/powerpc/cpu/mpc86xx/release.S @@ -6,7 +6,6 @@ */ #include <config.h> #include <mpc86xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/arch/powerpc/cpu/mpc8xx/kgdb.S b/arch/powerpc/cpu/mpc8xx/kgdb.S index e774d1e..0ea1a06 100644 --- a/arch/powerpc/cpu/mpc8xx/kgdb.S +++ b/arch/powerpc/cpu/mpc8xx/kgdb.S @@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <mpc8xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/arch/powerpc/cpu/ppc4xx/kgdb.S b/arch/powerpc/cpu/ppc4xx/kgdb.S index f274c5d..31abd69 100644 --- a/arch/powerpc/cpu/ppc4xx/kgdb.S +++ b/arch/powerpc/cpu/ppc4xx/kgdb.S @@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <asm/ppc4xx.h> -#include <version.h> #define CONFIG_405GP 1 /* needed for Linux kernel header files */ |