Changeset 960f8476 in mainline for boot/arch/mips32


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/mips32/loader
Files:
1 added
1 edited
1 moved

Legend:

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

    r136edca r960f8476  
    3434
    3535ifeq ($(IMAGE),binary)
    36         BFD = binary
     36        LD_IN = binary
    3737endif
    3838ifeq ($(IMAGE),ecoff)
    39         BFD = ecoff-littlemips
     39        LD_IN = ecoff
    4040endif
    4141BFD_NAME = elf32-tradlittlemips
     
    109109
    110110clean:
    111         -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
     111        -rm -f _components.h _components.c _link.ld _link.ld.in $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
    112112
    113 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)
    114         ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS)
     113_components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
     114        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS)
     115
     116_link.ld.in: _link.ld.in.$(LD_IN)
     117        cp $< $@
    115118
    116119%.o: %.S
  • boot/arch/mips32/loader/_link.ld.in.binary

    r136edca r960f8476  
     1OUTPUT_FORMAT("binary")
     2ENTRY(start)
     3 
     4SECTIONS {
    15        .boot 0xbfc00000: AT (0) {
    26                *(BOOTSTRAP);
     
    1317                *(COMMON);              /* global variables */
    1418                *(.reginfo);
     19[[COMPONENTS]]
     20        }
     21}
Note: See TracChangeset for help on using the changeset viewer.