| Message ID | 20260620095210.2530342-2-sebastian.huber@embedded-brains.de |
|---|---|
| State | New |
| Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DEAEB4BAE7FE for <patchwork@sourceware.org>; Sat, 20 Jun 2026 09:54:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEAEB4BAE7FE Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=embedded-brains.de header.i=@embedded-brains.de header.a=rsa-sha256 header.s=34EE5404-8E36-11F0-B577-2ECCAB4968F5 header.b=naBH+gzz X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 5049B4BAE7D4 for <newlib@sourceware.org>; Sat, 20 Jun 2026 09:52:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5049B4BAE7D4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embedded-brains.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5049B4BAE7D4 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=85.10.215.148 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781949144; cv=none; b=ZuHEMMlYJgTEBvtJyih+y0RcDFDE6UUEeXkzwQZf9xFPM/s4yBIhdpfrv15BydjUVj5CvcmMdmBlMPsynuSMRLAn4ChI6O/MwfC82d327p/oKKPgUyumBnkTJkTjZPHnPIYL6SRip19FyZkYW7tTyrv7DnkIIx+/2G4mi3DZRW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781949144; c=relaxed/simple; bh=3H4UjAqZVboiOppP1iy9XKqjiEA0A+tUQMvMk59FNUY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=JNqR3VDfOUEEoe1JEaFxDZ8ichAgw43uRHsoo0WLfcngCTOp7C1uoX3GTySgvq/PrkjIORubomY8Bh+P9uvkfpzepG+WEb+3BMUz0cgVh0pCH4/xo5FUaguz1wUmAC1BewilPFmG+NHtgw/xMIhkb/nvTYSuFSjOLc1IvnmLUoo= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=embedded-brains.de header.i=@embedded-brains.de header.a=rsa-sha256 header.s=34EE5404-8E36-11F0-B577-2ECCAB4968F5 header.b=naBH+gzz DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5049B4BAE7D4 Received: from sslproxy02.your-server.de ([78.47.166.47]) by dedi548.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <sebastian.huber@embedded-brains.de>) id 1wasN9-000Nfh-2p for newlib@sourceware.org; Sat, 20 Jun 2026 11:52:19 +0200 Received: from localhost ([127.0.0.1]) by sslproxy02.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <sebastian.huber@embedded-brains.de>) id 1wasNA-0001fw-0n for newlib@sourceware.org; Sat, 20 Jun 2026 11:52:19 +0200 Received: from localhost (localhost.eb.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 525184801C9 for <newlib@sourceware.org>; Sat, 20 Jun 2026 11:52:19 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavis, port 10032) with ESMTP id p_F98FcVOlLc for <newlib@sourceware.org>; Sat, 20 Jun 2026 11:52:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 0B0F94801C6 for <newlib@sourceware.org>; Sat, 20 Jun 2026 11:52:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.embedded-brains.de 0B0F94801C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded-brains.de; s=34EE5404-8E36-11F0-B577-2ECCAB4968F5; t=1781949139; bh=8XTe8Fq58UYmPTA8clCV5HbOCQIQGFfmzn+8xGpqQB4=; h=From:To:Date:Message-ID:MIME-Version; b=naBH+gzz61nYMC0FAvNWPynWIp/mxffUW3uziiImR+Zo+qADugXe3ERyoAiA7yQ+j vt1a3LCnMRxwXHlI8YZc5cOLqQ9OX+LXqMuCbIY4moZk/IfW8ixhpyYYzgOD85r03T 0Agxvz0pdu5S7nisuTxEnrtTecGKjx1KUbK/OevYLXE71cJkTDYnyxil/M159bP51r jLfgwNAo2fL25LtLjZMsN7ao/myA0QuJZZK497FbiCmzAxSm+b3ONKVqmx+hZwm7ta dIATN3pUBWV8cc7HlAUWTVk64/GZfSWcWaZl1Vje0fn8F+xUdDSllROwsJQn/xTg0y dYnapBxBD4hUw== X-Virus-Scanned: amavis at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavis, port 10026) with ESMTP id b7vVRlQ1ytW6 for <newlib@sourceware.org>; Sat, 20 Jun 2026 11:52:18 +0200 (CEST) Received: from zimbra.eb.localhost (unknown [10.10.171.14]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 6429F4801C5 for <newlib@sourceware.org>; Sat, 20 Jun 2026 11:52:18 +0200 (CEST) From: Sebastian Huber <sebastian.huber@embedded-brains.de> To: newlib@sourceware.org Subject: [PATCH v2 1/8] General further adoption of SPDX licensing ID tags. Date: Sat, 20 Jun 2026 11:52:03 +0200 Message-ID: <20260620095210.2530342-2-sebastian.huber@embedded-brains.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260620095210.2530342-1-sebastian.huber@embedded-brains.de> References: <20260620095210.2530342-1-sebastian.huber@embedded-brains.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-DKIM-Status: pass [(embedded-brains.de) - 78.47.166.47] X-Virus-Scanned: Clear (ClamAV 1.4.3/28037/Sat Jun 20 08:24:51 2026) X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
Synchronize *div() implementations with FreeBSD
|
|
Commit Message
Sebastian Huber
June 20, 2026, 9:52 a.m. UTC
From: "Pedro F. Giffuni" <pfg@FreeBSD.org>
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
---
newlib/libc/stdlib/div.c | 4 +++-
newlib/libc/stdlib/ldiv.c | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c index 4868c6d47..4296f1e80 100644 --- a/newlib/libc/stdlib/div.c +++ b/newlib/libc/stdlib/div.c @@ -41,7 +41,9 @@ PORTABILITY No supporting OS subroutines are required. */ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c index 39bb36e11..c02711a78 100644 --- a/newlib/libc/stdlib/ldiv.c +++ b/newlib/libc/stdlib/ldiv.c @@ -42,7 +42,9 @@ No supporting OS subroutines are required. */ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990 Regents of the University of California. * All rights reserved. *