Changeset 960f8476 in mainline for boot/arch/ppc32/loader


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/ppc32/loader
Files:
2 edited

Legend:

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

    r136edca r960f8476  
    3333#
    3434
    35 BFD = elf32-powerpc
    3635BFD_NAME = elf32-powerpc
    3736BFD_ARCH = powerpc:common
     
    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 int" $(COMPONENTS)
    111110
    112111%.o: %.S
  • boot/arch/ppc32/loader/_link.ld.in

    r136edca r960f8476  
     1OUTPUT_FORMAT("elf32-powerpc")
     2OUTPUT_ARCH(powerpc:common)
     3ENTRY(start)
     4 
     5SECTIONS {
    16        .boot 0x10000000: AT (0) {
    27                *(BOOTSTRAP);
     
    1217                *(.bss);                /* uninitialized static variables */   
    1318                *(COMMON);              /* global variables */
     19[[COMPONENTS]]
     20        }
     21}
Note: See TracChangeset for help on using the changeset viewer.