The NetBSD Project

CVS log for src/lib/libc/compiler_rt/Makefile.inc

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / compiler_rt

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 10 18:00:13 2024 UTC (4 weeks, 6 days ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

compiler_rt: allow signed bit shifts for __negv

Standard C defines '1 << 31' as undefined behavior, but
https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html allows
it for GCC.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jan 23 15:32:18 2024 UTC (2 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.45: +8 -1 lines
Diff to previous 1.45 (colored)

Add vax

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 23 12:23:34 2024 UTC (2 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

more annotation for powerpc

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 21 00:43:34 2024 UTC (2 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.43: +6 -1 lines
Diff to previous 1.43 (colored)

fix more alpha

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jan 19 18:45:01 2024 UTC (2 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.42: +90 -1 lines
Diff to previous 1.42 (colored)

add lint flags for compiler_rt

Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 9 07:29:26 2023 UTC (5 months ago) by rin
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

libc/compiler_rt: Consistently use LIBC_MACHINE_{ARCH,CPU}

Instead of MACHINE_{ARCH,CPU}, respectively.

With this change, unnecessary comparetf2.c is no longer
compiled in for 32-bit compat libc on aarch64.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 5 10:28:19 2022 UTC (18 months, 1 week ago) by nia
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.40: +22 -7 lines
Diff to previous 1.40 (colored)

libc: switch aarch64 to use softfloat functions from compiler_rt

The old definitions in qp.c being all grouped together in one file
causes problems when static linking with libgcc (i.e. cc --static-libgcc)
due to functions like __trunctfdf2 conflicting with libgcc, as seen in
PR 57021

We can also add some missing functions like __fixdfti for converting
a double to an int128_t, the lack of which is currently preventing webkit
from linking on aarch64, as seen in PR 57022

Unclear to me if libc is the right place for these functions, but
we can avoid breaking compatibility right now and maintain the status
quo while avoiding some obvious immediate problems.
nm output for libc shows no functions being removed by this change.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Sun Aug 8 10:11:39 2021 UTC (2 years, 8 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.35: +5 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Pull up following revision(s) (requested by skrll in ticket #1328):

	sys/external/bsd/compiler_rt/dist/lib/builtins/negsf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/muldf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfhf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/negsf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/muldf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfhf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c: revision 1.4
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c: revision 1.5
	sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c: revision 1.2
	sys/external/bsd/compiler_rt/abi.mk: revision 1.1
	sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h: revision 1.4
	sys/external/bsd/compiler_rt/dist/lib/builtins/ashrdi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/ashldi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfsf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/subdf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h: revision 1.5
	sys/external/bsd/compiler_rt/dist/lib/builtins/ashrdi3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/ashldi3.c: revision 1.3
	sys/lib/libkern/Makefile.compiler-rt: revision 1.13
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfsf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/subdf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h: revision 1.6
	sys/external/bsd/compiler_rt/dist/lib/builtins/lshrdi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/extendhfsf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/lshrdi3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/extendhfsf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_frsub.c: revision 1.2
	lib/libm/compiler_rt/Makefile.inc: revision 1.11
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfsi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfsi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/divsi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/divsi3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_div0.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/mulsf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/mulsf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/divsf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfdi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/divsf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfdi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/extendsfdf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/extendsfdf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfsi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_drsub.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfsi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/muldi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfsi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/muldi3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfsi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c: revision 1.3
	lib/libc/compiler_rt/Makefile.inc: revision 1.40
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfdi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfdi.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/udivsi3.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncsfhf2.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfdi.c: revision 1.2
	sys/external/bsd/compiler_rt/dist/lib/builtins/udivsi3.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/truncsfhf2.c: revision 1.3
	sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c: revision 1.4
	sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfdi.c: revision 1.3

PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 266891:
https://github.com/llvm/llvm-project/commit/28e1b977d4694c6b3a5c4d8107570a969be71e77#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] builtins: remove use of __attribute__((pcs("aapcs"))) on
  Windows
Windows does not honour the __attribute__((pcs)) on ARM.  Although this will
result in ABI mismatches, compiler-rt should largely be unneeded for resolving
dependencies as we generate MS ABI compliant library calls now for the most
part.
llvm-svn: 266891
PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 298974 for lib/builtins/int_lib.h.
https://github.com/llvm/llvm-project/commit/d8ca74176e25bd4080ee81982819e2ef7a36553f#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[Builtin] Unxfail tests for armhf
Summary:
Originally, a few tests fail for armhf target due to:
1) COMPILER_RT_ARMHF_TARGET was not set when building the lib
2) COMPILER_RT_ABI should not be defined as `__attribute__((pcs("aapcs")))` for armhf when building for both lib and tests
This addresshttps://bugs.llvm.org//show_bug.cgi?id=32261
mulsc3_test.c is a newly exposed issue, which will be addressed separately.
Reviewers: rengolin, compnerd
Reviewed By: compnerd
Subscribers: aemerson, llvm-commits, mgorny
Differential Revision:https://reviews.llvm.org/D31448
llvm-svn: 298974
PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 303138:
https://github.com/llvm/llvm-project/commit/44c45717b9e9f3dc194508d2eeeb8599a9d76949#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] builtins: use reserved spelling (NFC)
llvm-svn: 303138
PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 303188:
https://github.com/llvm/llvm-project/commit/36ac5ddff7377586390a71cb3261f0a40d274308#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] builtins: expand out the AEABI function stubs
These actually may change calling conventions.  We cannot simply provide
function aliases as the aliased function may have a different calling
convention.  Provide a forwarding function instead to permit the
compiler to synthesize the calling convention adjustment thunk.
Remove the `ARM_EABI_FNALIAS` macro as that is not safe to use.
Resolves PR33030!
llvm-svn: 303188
PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 303207:
https://github.com/llvm/llvm-project/commit/4a45838d10085defac0f3b3003a5263e34536f3b#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] builtins: fix guard __AEABI__ -> __ARM_EABI__
llvm-svn: 303207
PR port-arm/55897
Cherry-pick upstream commit llvm-svn: 314851:
https://github.com/llvm/llvm-project/commit/0d586d06a756b126a7eb43a21ecc12bd243d7cd8#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] [compiler-rt] Add back ARM EABI aliases where legal.
r303188 removed all the uses of aliases for EABI functions from
compiler-rt, because some of them had mismatched calling conventions.
Obviously, we can't use aliases for functions which don't have the same
calling convention, but that's only an issue for floating-point
functions with the hardfloat ABI.  In other cases, the stubs increase
size and reduce performance for no benefit.
This patch adds back the aliases, with appropriate checks to make sure
they're only used in cases where the calling convention matches.
llvm-svn: 314851
PR port-arm/55897
Fix ABI mismatch for armhf runtime routines for floating-point arithmetics;
For hard-float arm variants, provide
(1) generic runtime routines with correct calling convention, and
(2) EABI runtime routines at the same time.
I've confirmed that no binary changes for kernels.
LGTM by skrll

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jun 16 05:21:08 2021 UTC (2 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

PR port-arm/55897

Fix ABI mismatch for armhf runtime routines for floating-point arithmetics;
For hard-float arm variants, provide

(1) generic runtime routines with correct calling convention, and
(2) EABI runtime routines at the same time.

I've confirmed that no binary changes for kernels.

LGTM by skrll

Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 2 16:22:45 2020 UTC (3 years, 7 months ago) by jakllsch
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Treat aarch64eb the same as aarch64

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 22 11:28:56 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.37: +2 -9 lines
Diff to previous 1.37 (colored)

Restrict usage of m68k assembler versions of {,u}divsi3 and {,u}divsi3 to
kernel and bootloader for 68010.

They requires a special calling convention to udivsi3, and cannot to be
mixed up in normal routines provided by libgcc or compiler_rt. Although,
there's no problem for using them in a controlled situation, i.e., kernel
and standalone programs.

Note that this does not affect at all m68k ports other than sun2, since
codes generated by gcc do not call these routines.

Assembler files are moved from common/lib/libc/arch/m68k/gen to
sys/lib/libkern/arch/m68k in order not to be compiled in libc.

Revert hack introduced to lib/libc/compiler_rt/Makefile.inc rev 1.37:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/compiler_rt/Makefile.inc#rev1.37

Proposed on port-sun2@ with no response...
(Again, this does not affect m68k ports other than sun2.)
http://mail-index.netbsd.org/port-sun2/2020/03/10/msg000102.html

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:09 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.35.4.1: +3 -0 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:12 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.35: +9 -2 lines
Diff to previous 1.35 (colored)

Merge changes from current as of 20200406

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 8 06:30:06 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.36: +9 -2 lines
Diff to previous 1.36 (colored)

Fix broken printf(3) %d output for numbers more than two digits, e.g.,

  printf("%d\n", 42) ---> "::" instead of "42"

Our __{,u}modsi3 codes assume that __udivsi3 returns remainder to
%d1 (volatile register). __udivsi3 in libgcc does not, and therefore
mixing them up results in mess.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Oct 29 16:08:50 2019 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.35: +4 -1 lines
Diff to previous 1.35 (colored)

Always include soft-float compare and order logic in libc when using
compiler-rt.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Jul 25 02:21:26 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.33: +51 -44 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by martin in ticket #157):
	lib/libc/compiler_rt/Makefile.inc: revision 1.35
Do not use IEEE 754 specific functions for VAX

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 23 09:50:54 2017 UTC (6 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: phil-wifi, netbsd-9
Changes since 1.34: +51 -44 lines
Diff to previous 1.34 (colored)

Do not use IEEE 754 specific functions for VAX

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 16 21:22:14 2017 UTC (6 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.33: +6 -1 lines
Diff to previous 1.33 (colored)

Implement __clear_cache using __syncicache on PPC

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 26 22:56:50 2017 UTC (6 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Use MACHINE_ARCH for the sparc check.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 24 21:45:40 2017 UTC (6 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.31: +6 -1 lines
Diff to previous 1.31 (colored)

Add __clear_cache implementatin for SPARC/SPARC64.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 30 07:25:33 2016 UTC (8 years ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.30: +7 -2 lines
Diff to previous 1.30 (colored)

Drop fixxfdi.c for m68k (where double == long double and this isn't needed
but causes duplicate symbols with softfloat, if compiling MKSOFTFLOAT=yes)

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 26 07:31:11 2016 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (colored)

Make sure to define __SOFT_FP__ when building a SOFTFLOAT userland

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 29 14:57:07 2016 UTC (8 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Fix buidling with MKPROFILE=no

Revision 1.28 / (download) - annotate - [select for diffs], Sat Feb 27 19:08:23 2016 UTC (8 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.27: +7 -2 lines
Diff to previous 1.27 (colored)

Sync with changes in the profiling implementation of compiler-rt.
Switch to the "Linux" runtime, which is kind of misnamed for the mostly
ELF based implementation. Make sure to hook up the runtime source
only for the profile library as it uses constructors for the output
creation.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed Feb 4 22:00:24 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.24.2.1: +3 -3 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Pull up following revision(s) (requested by chs in ticket #492):
	lib/libc/arch/powerpc64/sys/__vfork14.S: revision 1.2
	lib/libc/arch/powerpc64/sys/__syscall.S: revision 1.2
	lib/libc/arch/powerpc/sys/__syscall.S: revision 1.3
	lib/libc/arch/powerpc64/sys/syscall.S: revision 1.2
	lib/libc/arch/powerpc/sys/__clone.S: revision 1.6
	lib/libc/arch/powerpc64/gen/__setjmp14.S: revision 1.3
	sys/arch/powerpc/include/asm.h: revision 1.47
	lib/libc/arch/powerpc64/sys/cerror.S: revision 1.6
	lib/libc/arch/powerpc64/sys/getcontext.S: revision 1.5
	lib/libc/arch/powerpc64/sys/brk.S: revision 1.5
	lib/libc/arch/powerpc64/sys/ptrace.S: revision 1.3
	lib/libc/arch/powerpc64/genassym.cf: revision 1.1
	lib/libc/arch/powerpc64/gen/__sigsetjmp14.S: revision 1.3
	lib/libc/arch/powerpc/sys/getcontext.S: revision 1.6
	compat/powerpc64/powerpc/bsd.powerpc.mk: revision 1.3
	lib/libc/arch/powerpc64/sys/pipe.S: revision 1.2
	lib/libc/arch/powerpc/sys/brk.S: revision 1.14
	lib/libc/arch/powerpc64/SYS.h: revision 1.3
	lib/libc/arch/powerpc64/sys/fork.S: revision 1.2
	lib/libc/arch/powerpc64/sys/__sigtramp2.S: revision 1.4
	lib/libc/arch/powerpc64/Makefile.inc: revision 1.3
	lib/libc/arch/powerpc/sys/pipe.S: revision 1.9
	lib/libc/compiler_rt/Makefile.inc: revision 1.25
	lib/libc/arch/powerpc64/sys/sbrk.S: revision 1.4, 1.5
	lib/libc/arch/powerpc64/sys/__clone.S: revision 1.2
	lib/libc/arch/powerpc/sys/sbrk.S: revision 1.13
	lib/libc/arch/powerpc/SYS.h: revision 1.13
powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
-
Spell LdAddr consistently
-
Add LDFLAGS+=-Wl,-m,elf32ppc_nbsd
-
Fix cmpptr/cmpreq/etc to use right mnemonics
-
Minimize differences between powerpc and powerpc64
-
Fix powerpc64 assembly to use right instructions for 64bit CPUs.
-
Use hidden for __curbrk and __minbrk to avoid GOT/TOC relocations.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 3 19:29:14 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.26: +12 -5 lines
Diff to previous 1.26 (colored)

Changes for OR1K

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 13:49:28 2014 UTC (9 years, 7 months ago) by martin
Branch: netbsd-7
Changes since 1.24: +8 -2 lines
Diff to previous 1.24 (colored)

Pullup the following to netbsd-7  (requested by matt in ticket #37):
external/gpl3/gcc/dist/gcc/config/vax/builtins.md 1.4
external/gpl3/gcc/dist/gcc/config/vax/vax.c	1.10
	Rework so that the ctzsi builtin is supported.

lib/libc/compiler_rt/Makefile.inc		1.26
	VAX does need __clzsi2

libexec/ld.elf_so/arch/vax/rtld_start.S		1.23
libexec/ld.elf_so/arch/vax/rtld_start.S		1.24
	add a missing register prefix.
	Add proper registers for register counts.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:14 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.26.2.1: +253 -0 lines
Diff to previous 1.26.2.1 (colored) next main 1.27 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.26.2.1, Sun Aug 17 16:14:59 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.26: +0 -259 lines
FILE REMOVED

file Makefile.inc was added on branch tls-maxphys on 2014-08-20 00:02:14 +0000

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 17 16:14:59 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored)

VAX does need __clzsi2

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 13 14:41:45 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 10 23:39:08 2014 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (colored)

MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU

Revision 1.23 / (download) - annotate - [select for diffs], Sun Aug 10 10:15:39 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.22: +10 -2 lines
Diff to previous 1.22 (colored)

Add the not-yet-used IEEE quad support files.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:51:50 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.17: +11 -7 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Rebase.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 10 05:57:31 2014 UTC (9 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.21: +45 -22 lines
Diff to previous 1.21 (colored)

Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 14 07:55:26 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

Don't include atomic.c, we have aliases for it in src/common.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:51 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.20.2.1: +218 -0 lines
Diff to previous 1.20.2.1 (colored) next main 1.21 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.20.2.1, Tue May 20 12:23:47 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.20: +0 -224 lines
FILE REMOVED

file Makefile.inc was added on branch yamt-pagecache on 2014-05-22 11:36:51 +0000

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 20 12:23:47 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Branch point for: yamt-pagecache
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

For the moment, don't complain about const casts.

Revision 1.19 / (download) - annotate - [select for diffs], Fri May 16 00:11:30 2014 UTC (9 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Prepare in case we want to hook up the profile init code later.

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 16 00:10:57 2014 UTC (9 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

Deal with PGO rename.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 19 20:30:53 2014 UTC (10 years ago) by uwe
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.16: +9 -2 lines
Diff to previous 1.16 (colored)

On sh3 __udivsi3 is gcc "millicode" with special calling convention
(less registers clobbered than usual).  Each DSO that needs it gets
its own hidden copy from libgcc.a.  Do not compile udivsi3.c for sh3
here since this C version doesn't conform to what gcc expects and
overrides the libgcc.a version.

This makes binaries compiled with gcc4.8 work.  The issue was not
exposed with gcc4.5 since it uses different division strategy by
default.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 2 03:04:52 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Change remaining "MACHINE_ARCH" to "LIBC_MACHINE_ARCH"

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 26 22:37:56 2014 UTC (10 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

Update compiler-rt glue for the new source layout.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 29 22:38:18 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Long double support builds for PPC now.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 18 21:27:11 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

ARM needs __clear_cache.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jan 18 21:26:46 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Must use LIBC_MACHINE_ARCH for deciding whether 64bit support code is
neded. Otherwise e.g. i386 compat libs are broken.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 18 03:28:28 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

__fixsfdi is required, __fixdfsi already in softfloat.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 18 01:08:56 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Use a separate variable for the use of GCC's unwind code.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 17 14:08:59 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Don't use aeabi_dcmp.S and aeabi_fcmp.S on ARM yet, softfloat provides
the same set of symbols.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 17 14:07:33 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Comment out softfloat code until it is decided what to use long term.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 17 14:06:36 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

__floatunsidf and __floatunsisf are provided by softfloat, but
__fixdfdi and __fixdfsi are not. So move them into the corresponding
chunks.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 17 14:03:31 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Explicitly enumerate platforms that have unwind support to make
piecewise migration easier.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 16 23:05:51 2014 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.4: +31 -25 lines
Diff to previous 1.4 (colored)

Don't build common quad routines if the platform is 64bit since they
will not be emitted by the compiler.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 15 21:20:53 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

Add profiling helper functions to the build.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 3 16:14:50 2013 UTC (10 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.2: +26 -24 lines
Diff to previous 1.2 (colored)

Don't include bswap for ARM right now, the routines require ARMv6.
Separate the soft-float code and don't include it in the libgcc case.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 3 02:28:51 2013 UTC (10 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.1: +37 -7 lines
Diff to previous 1.1 (colored)

Add ARM (EABI) specific sources. Split off code that requires C11,
unwind support in libc or overlaps with soft-float in preparation for
using compiler-rt in the non-clang case.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 4 22:14:43 2013 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2

Build glue for including compiler-rt in libc, not hooked up yet.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>