Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11729
b: refs/heads/master
c: 67a1b68
h: refs/heads/master
i:
  11727: 3338008
v: v3
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Oct 29, 2005
1 parent 8e0d96e commit 1416627
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4497235f00d811943831c9d76995d36c4ffab2d
refs/heads/master: 67a1b68263d58a3ed5ce024468606044a1561312
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
HOSTCC := gcc
BOOTCFLAGS := $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem $(shell $(CROSS32CC) -print-file-name=include) -fPIC
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
BOOTLFLAGS := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds
BOOTLFLAGS := -T $(srctree)/$(src)/zImage.lds
OBJCOPYFLAGS := contents,alloc,load,readonly,data

zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c
Expand All @@ -34,7 +34,7 @@ zliblinuxheader := zlib.h zconf.h zutil.h
$(addprefix $(obj)/,$(zlib) main.o): $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader))
#$(addprefix $(obj)/,main.o): $(addprefix $(obj)/,zlib.h)

src-boot := crt0.S string.S prom.c main.c div64.S
src-boot := string.S prom.c main.c div64.S crt0.S
src-boot += $(zlib)
src-boot := $(addprefix $(obj)/, $(src-boot))
obj-boot := $(addsuffix .o, $(basename $(src-boot)))
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "ppc_asm.h"

.text
.globl _start
_start:
.globl _zimage_start
_zimage_start:
bl reloc_offset

reloc_offset:
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/ppc64/boot/zImage.lds
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
OUTPUT_ARCH(powerpc:common)
ENTRY(_zimage_start)
SECTIONS
{
. = (4*1024*1024);
_start = .;
.text :
{
*(.text)
Expand Down

0 comments on commit 1416627

Please sign in to comment.