Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rfc0b2a8 r82d9087  
    2929
    3030USPACE_PREFIX = ../..
     31ROOT_PATH = $(USPACE_PREFIX)/..
     32CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3133
    32 EXTRA_LDFLAGS = -Wl,-Ttext-segment=0x70000000
     34include $(CONFIG_MAKEFILE)
     35
     36ifeq ($(UARCH),ia64)
     37        # IA64 has a peculiar linker script with a fixed data segment address.
     38        # Because the loader is a separate nonrelocatable binary in the same
     39        # address space as the application, we provide a modified copy of
     40        # the default linker script to work around that.
     41        EXTRA_LDFLAGS = -T elf64_ia64_loader.x
     42else
     43        # On all other architectures, we can simply move the text segment.
     44        EXTRA_LDFLAGS = -Wl,-Ttext-segment=0x70000000
     45endif
    3346
    3447BINARY = loader
Note: See TracChangeset for help on using the changeset viewer.