Changeset 960f8476 in mainline for boot/arch/ppc64


Ignore:
Timestamp:
2008-05-30T14:22:58Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
afb1e35
Parents:
136edca
Message:

finish unifying pack script

Location:
boot/arch/ppc64/loader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ppc64/loader/Makefile

    r136edca r960f8476  
    3333#
    3434
    35 BFD = elf64-powerpc
    3635BFD_NAME = elf64-powerpc
    3736BFD_ARCH = powerpc:common64
     
    107106        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
    108107
    109 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)
    110         ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS)
     108_components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
     109        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned long" $(COMPONENTS)
    111110
    112111%.o: %.S
  • boot/arch/ppc64/loader/_link.ld.in

    r136edca r960f8476  
     1OUTPUT_FORMAT("elf64-powerpc")
     2OUTPUT_ARCH(powerpc:common64)
     3ENTRY(start)
     4 
     5SECTIONS {
    16        .boot 0x0000000010000000: AT (0) {
    27                *(BOOTSTRAP);
     
    1419                *(.bss);                /* uninitialized static variables */   
    1520                *(COMMON);              /* global variables */
     21[[COMPONENTS]]
     22        }
     23 
     24    /DISCARD/ : {
     25        *(*);
     26    }
     27}
Note: See TracChangeset for help on using the changeset viewer.