Commit Graph

54 Commits

Author SHA1 Message Date
Yuriy Kolerov 820dd5009b arc64: Add port for Synopsys DesignWare ARCv3 ISA
Synopsys ARCv3 ISA includes 32-bit ARC HS5x targets and
64-bit ARC HS6x targets. Both CPU families are placed
in "arc64" subdirectories as it done for GCC port.
Target name arc64 is used for historical reasons and
Synopsys ARCv3 baremetal toolchains contain multilib
configurations both for 32-bit and 64-bit families.
arc32 target name is reserved for 32-bit ARC HS5x
targets in case of non-multilib 32-bit builds.

Note that libgloss libraries for ARCv3 are compatible with
libgloss for ARCv1/2. Thus, Makefile.inc for libgloss uses
sources from libgloss/arc directory except crtX.S files.

Co-authored-by: Shahab Vahedi <list@vahedi.org>
Co-authored-by: Claudiu Zissulescu <claziss@gmail.com>
Co-authored-by: Bruno Mauricio <brunoasmauricio@gmail.com>
Co-authored-by: Luis Silva <luis.m.silva99@hotmail.com>
Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
2024-08-21 15:32:22 -04:00
Kito Cheng 5c5ae2c086 newlib: Add more FreeBSD files for non LDBL_EQ_DBL support
For RISC-V, AArch64, i386, and x86_64

- k_tanl.c is required for tanl; the linker will report `__kernel_tanl`
  not found when tanl is called.
- s_cospil.c and s_sinpil.c are added for cospil and sinpil, which are already
  available for ld80 but not for ld128.
2024-07-16 15:19:21 -04:00
Sebastian Huber 96ec8f868e aarch64: Sync with ARM-software/optimized-routines
Update AArch64 assembly string routines from:

https://github.com/ARM-software/optimized-routines

commit 0cf84f26b6b8dcad8287fe30a4dcc1fdabd06560
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Thu Jul 27 17:14:57 2023 +0200

    string: Fix corrupt GNU_PROPERTY_TYPE (5) size

    For ELF32 the notes alignment is 4 and not 8.

Add license and copyright information to COPYING.NEWLIB as entry (56).
2023-10-05 14:16:57 +02:00
Victor L. Do Nascimento a7be7d8b75 COPYING.NEWLIB: Arm licence entry amendment
Add relevant SPDX-License-Identifier to Arm licence entry in
COPYING.NEWLIB.
2023-01-19 15:05:05 -05:00
Victor L. Do Nascimento 15ad816ddd libc: arm: fix setjmp abi non-conformance
As per the arm Procedure Call Standard for the Arm Architecture
section 6.1.2 [1], VFP registers s16-s31 (d8-d15, q4-q7) must be
preserved across subroutine calls.

The current setjmp/longjmp implementations preserve only the core
registers, with the jump buffer size too small to store the required
co-processor registers.

In accordance with the C Library ABI for the Arm Architecture
section 6.11 [2], this patch sets _JBTYPE to long long adjusting
_JBLEN to 20.

It also emits vfp load/store instructions depending on architectural
support, predicated at compile time on ACLE feature-test macros.

[1] https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst
[2] https://github.com/ARM-software/abi-aa/blob/main/clibabi32/clibabi32.rst
2022-12-13 15:50:35 +00:00
Mike Frysinger be9c0561e7 newlib: drop phoenix support
This code has not been updated since 2016, and it looks like it has
rotted quite a bit since.  It does not build against the current set
of phoenix sources -- I had to hack both the kernel headers and the
newlib headers up to get it to build, and I still have no idea if it
actually links or runs.  It seems like the project itself has moved
away from newlib and to its own C library:
https://phoenix-rtos.com/documentation/libc/README.md

So since there's no interest from the phoenix folks to maintain this,
and it has a significant amount of non-standard code that we try to
keep up-to-date (without actually testing it), just punt it all.
2022-03-28 23:17:06 -04:00
Sebastian Huber a485393aea RTEMS: Add <poll.h> and <sys/poll.h>
Add the POSIX header file <poll.h> which is used by the GCC 11 Ada
runtime support.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2021-01-05 13:41:34 -05:00
Jojo R 8315a90822 Port of C-SKY for newlib
Contributor list:  

  - Lifang Xia <lifang_xia@c-sky.com>  
  - Jojo R <jiejie_rong@c-sky.com>
  - Xianmiao Qu <xianmiao_qu@c-sky.com>
  - Yunhai Shang <yunhai_shang@c-sky.com>
2020-09-23 15:08:59 -04:00
Eshan dhawan via Newlib a97bdf100f fenv support arm
Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
2020-06-09 21:13:17 -04:00
Jeff Johnston 235eb63034 Add PRU license to COPYING.NEWLIB and COPYING.LIBGLOSS 2019-10-31 15:09:07 -04:00
Jeff Johnston 1787e9d033 AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com>
Add support for the AMD GCN GPU architecture.  This is primarily intended for
use with OpenMP and OpenACC offloading.  It can also be used for stand-alone
programs, but this is intended mostly for testing the compiler and is not
expected to be useful in general.

The GPU architecture is highly parallel, and therefore Newlib must be
configured to use dynamic re-entrancy, and thread-safe malloc.

The only I/O available is a via a shared-memory interface provided by libgomp
and the gcn-run tool included with GCC.  At this time this is limited to
stdout, argc/argv, and the return code.
2019-01-15 10:48:08 -05:00
Jeff Johnston 9feedf23db Update Arm entry in COPYING.NEWLIB.
- per Wilco Dijkstra's patch
- update Arm copyright notice to not exclude AArch64 and the various generic
  contributions made (like the new math functions).  Also update the date and
  change spelling to Arm Ltd.
2018-09-25 15:10:46 -04:00
Kito Cheng 6864c08b94 Change license to FreeBSD License for RISC-V
- For prevent confuse about what BSD license variant we used, 2- or
   3-clause license, we change the license to FreeBSD license to make
   it unambiguously refers to the 2-clause license.
2017-08-21 11:08:54 +02:00
Kito Cheng 7040b2de08 Add RISC-V port for libm
Contributor list:
    - Michael Neilly  <mneilly@yahoo.com>
    - Kito Cheng  <kito.cheng@gmail.com>
2017-08-17 12:54:56 -04:00
Kito Cheng 363dbb9e44 Add RISC-V port for newlib
Contributor list:
    - Andrew Waterman  <andrew@sifive.com>
    - Palmer Dabbelt  <palmer@dabbelt.com>
    - Kito Cheng  <kito.cheng@gmail.com>
    - Scott Beamer  <sbeamer@eecs.berkeley.edu>
2017-08-16 18:00:58 -04:00
Jeff Johnston 9b7bbd0313 Update COPYING.NEWLIB appropriately. 2017-05-25 12:52:18 -04:00
Jeff Johnston 93f5d7c739 Add port for Phoenix-RTOS in common configure files. 2016-05-09 15:23:58 -04:00
Anton Kolesov 995a130bd9 Add Synopsys license for newlib and libgloss
ChangeLog:
2015-11-12  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* COPYING.LIBGLOSS: Add Synopsys license.
	* COPYING.NEWLIB: Likewise.
2015-11-12 14:16:32 +01:00
Jeff Johnston 48f78185f5 Add FTDI license for newlib and libgloss. 2015-09-04 14:43:38 -04:00
Andre Vieira 8c665d189b Updated copyright notice
Update the ARM copyright notice to include 2015.

2015-08-20  Andre Vieira  <andre.simoesdiasvieira@arm.com>
         * COPYING.NEWLIB: Updated ARM's copyright notice.

From 913be92b12851bc6285b8ab77d6878fda613f77c Mon Sep 17 00:00:00 2001
From: Andre Simoes Dias Vieira <andsim01@arm.com>
Date: Thu, 20 Aug 2015 14:16:42 +0100
Subject: [PATCH] Updated general Copyright notice
2015-08-25 16:17:54 +02:00
Eric Botcazou bf8f43ae8a * COPYING.LIBGLOSS: Add Controls and Data Services copyright.
* COPYING.NEWLIB: Likewise.
libgloss/
	* configure.in: Add Visium support.
	* configure: Regenerate.
	* visium/: New directory.
newlib/
	* configure.host: Add Visium support.
	* libc/machine/configure.in: Likewise.
	* libc/machine/configure: Regenerate.
	* libc/machine/visium/: New directory.
	* libc/include/machine/setjmp.h (_JBLEN): Define for Visium.
	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Likewise.
	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): Likewise.
2015-01-21 18:27:47 +00:00
Jeff Johnston 2567de8446 2014-04-04 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add to current TI license to
        include tirtos addition.
2014-04-04 21:52:07 +00:00
Jeff Johnston 680abbd9df 2013-10-01 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update with new copyright.
2013-10-01 18:14:04 +00:00
Jeff Johnston c679469487 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
* COPYING.NEWLIB: Add Altera Corporation copyright.
2013-05-06 18:31:56 +00:00
Jeff Johnston 0069c6ecfb 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Modify DJ Delorie license to include
        modification rights in clause as permitted by DJ Delorie.
        * COPYING.LIBGLOSS: Ditto.
2012-03-09 20:31:34 +00:00
Jeff Johnston fa24a065c0 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Remove two unused licenses.
2012-03-09 19:38:10 +00:00
Jeff Johnston de6ebe0e8b 2012-02-21 Joern Rennecke <joern.rennecke@embecosm.com>
* COPYING.NEWLIB: Add Adapteva notice.
        * COPYING.LIBGLOSS: Add Adapteva notice.
2012-02-21 22:40:27 +00:00
Jeff Johnston f590fbd222 2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add National Semiconductor notice.
2010-12-02 20:05:11 +00:00
Michael Eager 8466efb73e Fix typo in microblaze license. 2010-11-05 14:09:25 +00:00
Jeff Johnston cab874029f 2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers  <joseph@codesourcery.com>

        * COPYING.LIBGLOSS: Add National Semiconductor and CodeSourcery
        notices.
        * COPYING.NEWLIB: Add Texas Instruments notice.
2010-10-09 02:29:34 +00:00
Jeff Johnston f5efef6413 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update copyright date.
        * COPYING.LIBGLOSS: Ditto.
2009-12-17 21:12:49 +00:00
Jeff Johnston 9cd075756e 2009-01-21 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add ARM license.
2009-01-22 00:08:29 +00:00
Jeff Johnston 0b452bd66c 2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.
2008-12-17 23:16:07 +00:00
Jeff Johnston 24d73c0eec 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update default copyright.
2007-12-19 19:12:23 +00:00
Jeff Johnston 981d5b2128 2007-02-08 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.LIBGLOSS: Reformat default Red Hat
        license to fit within 80 columns.
        * COPYING.NEWLIB: Ditto.
2007-02-08 21:32:33 +00:00
Jeff Johnston 6457e1a638 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add spu license.
2006-10-27 22:57:03 +00:00
Jeff Johnston b8c30b54c7 2006-10-11 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.
2006-10-11 19:30:34 +00:00
Jeff Johnston a249fd1c9b 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update copyright year for default
        copyright.
2005-12-16 20:58:39 +00:00
R. Kelley Cook 5fc585f645 2005-07-16 Kelley Cook <kcook@gcc.gnu.org>
* all files: Update FSF address.
2005-07-16 02:41:34 +00:00
Jeff Johnston ac39cfccbd 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update Red Hat license to 2004.
2004-02-03 00:05:49 +00:00
Jeff Johnston 7534256738 2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update to include copyrights for new
        iconv code.
2004-01-23 22:05:44 +00:00
Jeff Johnston 6dec26cd0c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add license info for long long routines added to
        stdlib.
2003-11-27 19:18:38 +00:00
Jeff Johnston 468960eed8 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add license info for newlib/libc/sys/linux/stdlib.
2003-05-28 17:51:42 +00:00
Jeff Johnston 6c8b131e35 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.
2002-12-20 21:36:01 +00:00
Jeff Johnston bf0aa692c6 2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update list of alternate Regent of California
        licenses and discuss official revoking of advertising clause.
        * COPYING.LIBGLOSS: Ditto.
2002-12-13 00:36:42 +00:00
Jeff Johnston 596f5af5eb 2002-09-10 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: More updates.
2002-09-10 19:02:38 +00:00
Jeff Johnston b0591c89af 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update.
2002-09-09 20:57:01 +00:00
Jeff Johnston 1c4bd58770 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Remove advertising clause from
        Berkeley and Red Hat licenses.
2002-02-05 00:29:31 +00:00
Jeff Johnston 93f1818c05 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
* Change reference to Cygnus Solutions to be Red Hat.
2002-01-07 19:44:59 +00:00
Jeff Johnston 04fb071c38 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update generic copyright date.
2002-01-07 19:40:40 +00:00