Changeset efa9b73 in mainline


Ignore:
Timestamp:
2005-08-17T12:01:35Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c723d7a1
Parents:
3902f8a4
Message:

PPC linker script

Location:
arch/ppc
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc/Makefile.inc

    r3902f8a4 refa9b73  
     1PPC_TARGET=ppc-linux-gnu
     2
    13PPC_CC_DIR=/usr/local/ppc/bin
    2 CC=$(PPC_CC_DIR)/ppc-linux-gnu-gcc
    3 AS=$(PPC_CC_DIR)/ppc-linux-gnu-as
    4 LD=$(PPC_CC_DIR)/ppc-linux-gnu-ld
     4PPC_BINUTILS_DIR=/usr/local/ppc/bin
     5
     6CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc
     7AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
     8LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
    59
    610ASFLAGS=
     
    1519        arch/fpu_context.c \
    1620        arch/dummy.s \
    17         arch/start.S
     21        arch/start.S \
     22        arch/asm.s \
     23        arch/putchar.c \
     24        arch/mm/frame.c \
     25        arch/mm/page.c
  • arch/ppc/_link.ld

    r3902f8a4 refa9b73  
    1515                *(K_TEXT_START)
    1616                *(.text);
     17                *(.rodata);
     18                *(.rodata.*);
     19                *(.data);               /* initialized data */
     20                *(.sdata);
     21                *(.sbss);
     22                *(.bss);                /* uninitialized static variables */   
     23                *(COMMON);              /* global variables */
    1724                ktext_end = .;
    1825
  • arch/ppc/boot/Makefile

    r3902f8a4 refa9b73  
     1PPC_BINUTILS_DIR=/usr/local/ppc/bin
     2PPC_TARGET=ppc-linux-gnu
     3
    14.PHONY: nothing build
    25
     
    69        cp boot.bin ../../../src/load.bin
    710
    8 AS=/usr/local/mips/bin/decstation-ultrix-as
    9 LD=/usr/local/mips/bin/decstation-ultrix-ld
     11AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
     12LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
    1013
    11 ASFLAGS=-mips2 -EL
    12 LFLAGS=--oformat=binary -mips2 -EL -e start
     14ASFLAGS=
     15LFLAGS=--oformat=binary -e start
    1316
    1417boot.bin: boot.o
  • arch/ppc/boot/boot.s

    r3902f8a4 refa9b73  
    11#
    2 # Copyright (C) 2001-2004 Jakub Jermar
     2# Copyright (C) 2005 Martin Decky
    33# All rights reserved.
    44#
     
    2929.text
    3030
    31 .set noreorder
    32 .set nomacro
    33 
    3431.global start
    3532start:
  • arch/ppc/src/dummy.s

    r3902f8a4 refa9b73  
    4848.global arch_late_init
    4949.global calibrate_delay_loop
     50.global asm_delay_loop
    5051.global dummy
    5152
Note: See TracChangeset for help on using the changeset viewer.