Changeset 954c024 in mainline
- Timestamp:
- 2018-09-05T21:40:34Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f8048d1
- Parents:
- 79b39d0
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 15:27:05)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-05 21:40:34)
- Files:
-
- 31 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r79b39d0 r954c024 84 84 ! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice) 85 85 86 % Quad float type 87 @ "hard" Hardware 88 @ "soft" Software 89 ! [PLATFORM=sparc64] QUADFLOAT (choice) 90 86 91 % CPU type 87 92 @ "cortex_a8" ARM Cortex A-8 -
boot/Makefile.common
r79b39d0 r954c024 151 151 ifeq ($(CONFIG_DEVEL_FILES), y) 152 152 RD_LIBS += \ 153 $(USPACE_PATH)/lib/c/libc.a \ 154 $(USPACE_PATH)/lib/softint/libsoftint.a \ 155 $(USPACE_PATH)/lib/softfloat/libsoftfloat.a 153 $(USPACE_PATH)/lib/c/libc.a 156 154 endif 157 155 … … 159 157 RD_LIBS += \ 160 158 $(USPACE_PATH)/lib/c/libc.so.0 \ 161 $(USPACE_PATH)/lib/softint/libsoftint.so.0 \162 159 $(USPACE_PATH)/lib/math/libmath.so.0 \ 163 160 $(USPACE_PATH)/lib/dltest/libdltest.so.0 -
defaults/sparc64/niagara/Makefile.config
r79b39d0 r954c024 4 4 # CPU type 5 5 PROCESSOR = sun4v 6 7 # Quad Floats 8 QUADFLOAT = hard 6 9 7 10 # Support for SMP -
defaults/sparc64/ultra/Makefile.config
r79b39d0 r954c024 5 5 PROCESSOR = us 6 6 7 # Quad Floats 8 QUADFLOAT = hard 9 7 10 # Barebone build with essential binaries only 8 11 CONFIG_BAREBONE = y -
kernel/arch/amd64/Makefile.inc
r79b39d0 r954c024 32 32 33 33 FPU_NO_CFLAGS = -mno-sse -mno-sse2 34 35 # TODO: Red Zone is only a problem if we allow interrupts to land on an active 36 # stack. Using separate stack for interrupts and ensuring that we never 37 # enable interrupts on an interrupt stack would allow us to get rid of 38 # the argument. 39 34 40 COMMON_CFLAGS += -mcmodel=$(MEMORY_MODEL) -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer 35 41 -
kernel/arch/arm32/Makefile.inc
r79b39d0 r954c024 33 33 ATSIGN = % 34 34 35 COMMON_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -m arch=$(subst _,-,$(PROCESSOR_ARCH)) -mno-unaligned-access -mfpu=vfpv335 COMMON_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -mcpu=$(subst _,-,$(PROCESSOR)) -mno-unaligned-access -mfpu=vfpv3 36 36 37 37 ifeq ($(CONFIG_FPU),y) -
uspace/Makefile
r79b39d0 r954c024 218 218 lib/c \ 219 219 lib/cpp \ 220 lib/softint \221 lib/softfloat \222 220 lib/untar 223 221 … … 290 288 $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build" 291 289 292 # Special case for base libraries.293 lib/c.build: lib/softfloat.build lib/softint.build294 295 290 $(BUILDS): $(BASE_BUILDS) 296 291 -
uspace/Makefile.common
r79b39d0 r954c024 105 105 LIBCPP_PREFIX = $(LIB_PREFIX)/cpp 106 106 LIBCPP_INCLUDES_FLAGS = -I$(LIBCPP_PREFIX)/include 107 108 LIBSOFTFLOAT_PREFIX = $(LIB_PREFIX)/softfloat109 LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint110 107 111 108 LIBDLTEST_PREFIX = $(LIB_PREFIX)/dltest … … 144 141 endif 145 142 146 BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a $(LIBSOFTINT_PREFIX)/libsoftint.a143 BASE_LIBS += -lgcc 147 144 148 145 ifneq ($(LINK_DYNAMIC),y) -
uspace/app/tester/Makefile
r79b39d0 r954c024 30 30 USPACE_PREFIX = ../.. 31 31 32 # TODO: softfloat testing should be done via unit tests. 33 LIBS = block softfloat drv math 34 EXTRA_CFLAGS = -I$(LIBSOFTFLOAT_PREFIX) 32 LIBS = block drv math 35 33 36 34 BINARY = tester … … 57 55 float/float1.c \ 58 56 float/float2.c \ 59 float/softfloat1.c \60 57 vfs/vfs1.c \ 61 58 ipc/ping_pong.c \ -
uspace/app/tester/tester.c
r79b39d0 r954c024 65 65 #include "float/float1.def" 66 66 #include "float/float2.def" 67 #include "float/softfloat1.def"68 67 #include "vfs/vfs1.def" 69 68 #include "ipc/ping_pong.def" -
uspace/app/tester/tester.h
r79b39d0 r954c024 97 97 extern const char *test_float1(void); 98 98 extern const char *test_float2(void); 99 extern const char *test_softfloat1(void);100 99 extern const char *test_vfs1(void); 101 100 extern const char *test_ping_pong(void); -
uspace/lib/c/arch/arm32/src/eabi.S
r79b39d0 r954c024 35 35 mov pc, lr 36 36 FUNCTION_END(__aeabi_read_tp) 37 38 FUNCTION_BEGIN(__aeabi_idiv)39 push {lr}40 bl __divsi341 pop {lr}42 mov pc, lr43 FUNCTION_END(__aeabi_idiv)44 45 FUNCTION_BEGIN(__aeabi_uidiv)46 push {lr}47 bl __udivsi348 pop {lr}49 mov pc, lr50 FUNCTION_END(__aeabi_uidiv)51 52 FUNCTION_BEGIN(__aeabi_idivmod)53 push {lr}54 sub sp, sp, #1255 add r2, sp, #456 bl __udivmodsi357 ldr r1, [sp, #4]58 add sp, sp, #1259 pop {lr}60 mov pc, lr61 FUNCTION_END(__aeabi_idivmod)62 63 FUNCTION_BEGIN(__aeabi_uidivmod)64 push {lr}65 sub sp, sp, #1266 add r2, sp, #467 bl __udivmodsi368 ldr r1, [sp, #4]69 add sp, sp, #1270 pop {lr}71 mov pc, lr72 FUNCTION_END(__aeabi_uidivmod)73 74 FUNCTION_BEGIN(__aeabi_ldivmod)75 push {lr}76 sub sp, sp, #2477 push {sp}78 bl __divmoddi379 add sp, sp, #480 pop {r2, r3}81 add sp, sp, #1682 pop {lr}83 mov pc, lr84 FUNCTION_END(__aeabi_ldivmod)85 86 FUNCTION_BEGIN(__aeabi_uldivmod)87 push {lr}88 sub sp, sp, #2489 push {sp}90 bl __udivmoddi391 add sp, sp, #492 pop {r2, r3}93 add sp, sp, #1694 pop {lr}95 mov pc, lr96 FUNCTION_END(__aeabi_uldivmod) -
uspace/lib/c/arch/sparc64/Makefile.common
r79b39d0 r954c024 33 33 endif 34 34 35 COMMON_CFLAGS += -m64 -mcmodel=medlow 35 COMMON_CFLAGS += -m64 -mcmodel=medlow -mhard-float -m$(QUADFLOAT)-quad-float 36 36 37 37 LDFLAGS += -Wl,-no-check-sections,--gc-sections -
uspace/lib/posix/Makefile
r79b39d0 r954c024 40 40 ../math/libmath.a \ 41 41 ../clui/libclui.a \ 42 $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a \43 $(LIBSOFTINT_PREFIX)/libsoftint.a \44 42 $(LIBC_PREFIX)/libc.a \ 45 43 $(LIBC_PREFIX)/crt0.o \ … … 93 91 94 92 EXPORT_LDLIBS = \ 95 -Wl,--start-group -lposix -lmath -lc -l softfloat -lsoftint-Wl,--end-group93 -Wl,--start-group -lposix -lmath -lc -lgcc -Wl,--end-group 96 94 97 95 EXPORT_CFLAGS = \
Note:
See TracChangeset
for help on using the changeset viewer.