Changeset f563126 in mainline
- Timestamp:
- 2009-10-06T15:06:15Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 100aaf5
- Parents:
- d57e08f
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rd57e08f rf563126 103 103 ifeq ($(COMPILER),gcc_native) 104 104 CC = gcc 105 GCC = gcc105 GCC = $(CC) 106 106 AS = $(BINUTILS_PREFIX)as 107 107 LD = $(BINUTILS_PREFIX)ld -
uspace/lib/libc/Makefile
rd57e08f rf563126 116 116 117 117 arch/$(UARCH)/_link.ld: arch/$(UARCH)/_link.ld.in 118 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@118 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ 119 119 120 120 %.o: %.S -
uspace/lib/libc/Makefile.toolchain
rd57e08f rf563126 66 66 ifeq ($(COMPILER),gcc_cross) 67 67 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc 68 GCC = $(CC) 68 69 AS = $(TOOLCHAIN_DIR)/$(TARGET)-as 69 70 LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld … … 76 77 ifeq ($(COMPILER),gcc_native) 77 78 CC = gcc 79 GCC = $(CC) 78 80 AS = $(BINUTILS_PREFIX)as 79 81 LD = $(BINUTILS_PREFIX)ld … … 86 88 ifeq ($(COMPILER),icc) 87 89 CC = icc 90 GCC = gcc 88 91 AS = as 89 92 LD = ld … … 96 99 ifeq ($(COMPILER),clang) 97 100 CC = clang 101 GCC = gcc 98 102 AS = $(BINUTILS_PREFIX)as 99 103 LD = $(BINUTILS_PREFIX)ld -
uspace/lib/libc/arch/ia32/_link.ld.in
rd57e08f rf563126 3 3 4 4 PHDRS { 5 5 text PT_LOAD FLAGS(5); 6 6 data PT_LOAD FLAGS(6); 7 7 } … … 9 9 SECTIONS { 10 10 . = 0x1000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x1000; 21 22 22 23 .data : { 23 24 *(.data); 24 25 } :data 26 25 27 .tdata : { 26 28 _tdata_start = .; 27 29 *(.tdata); 30 *(.gnu.linkonce.tb.*); 28 31 _tdata_end = .; 29 32 _tbss_start = .; … … 31 34 _tbss_end = .; 32 35 } :data 36 33 37 _tls_alignment = ALIGNOF(.tdata); 38 34 39 .bss : { 35 36 40 *(COMMON); 41 *(.bss); 37 42 } :data 38 43 39 44 . = ALIGN(0x1000); 45 40 46 _heap = .; 41 47 … … 43 49 *(*); 44 50 } 45 46 51 } -
uspace/srv/fs/fat/fat.h
rd57e08f rf563126 89 89 uint16_t signature; 90 90 } __attribute__ ((packed)); 91 struct {91 struct fat32 { 92 92 /* FAT32 only */ 93 93 /** Sectors per FAT. */ -
uspace/srv/loader/Makefile
rd57e08f rf563126 72 72 73 73 arch/$(UARCH)/_link.ld: arch/$(UARCH)/_link.ld.in 74 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@74 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ 75 75 76 76 %.o: %.S -
uspace/srv/loader/arch/ia32/_link.ld.in
rd57e08f rf563126 8 8 PHDRS { 9 9 interp PT_INTERP; 10 10 text PT_LOAD FILEHDR PHDRS FLAGS(5); 11 11 data PT_LOAD FLAGS(6); 12 12 } … … 16 16 *(.interp); 17 17 } :interp 18 18 19 19 . = 0x70001000; 20 20 21 21 .init ALIGN(0x1000) : SUBALIGN(0x1000) { 22 22 *(.init); 23 23 } :text 24 24 25 .text : { 25 26 *(.text); 26 27 *(.rodata*); 27 28 } :text 28 29 … … 30 31 *(.data); 31 32 } :data 33 32 34 .tdata : { 33 35 _tdata_start = .; 34 36 *(.tdata); 37 *(.gnu.linkonce.tb.*); 35 38 _tdata_end = .; 36 39 } :data 40 37 41 .tbss : { 38 42 _tbss_start = .; … … 40 44 _tbss_end = .; 41 45 } :data 46 42 47 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 48 43 49 .bss : { 44 45 50 *(COMMON); 51 *(.bss); 46 52 } :data 47 53 48 54 . = ALIGN(0x1000); 55 49 56 _heap = .; 50 57 … … 52 59 *(*); 53 60 } 54 55 61 }
Note:
See TracChangeset
for help on using the changeset viewer.