From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40359 invoked by alias); 23 Nov 2016 18:03:33 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 40300 invoked by uid 89); 23 Nov 2016 18:03:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_LOTSOFHASH,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=heads, UD:by, H*r:Unknown, H*MI:prd X-HELO: m71-131.mailgun.net Received: from m71-131.mailgun.net (HELO m71-131.mailgun.net) (166.78.71.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Nov 2016 18:03:20 +0000 X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyIwZTgzNyIsICJjcm9zc2djY0Bzb3VyY2V3YXJlLm9yZyIsICI0MGYiXQ== Received: from github.com (Unknown [192.30.252.34]) by mxa.mailgun.org with ESMTP id 5835d9e5.7f60becda8d0-smtp-out-n03; Wed, 23 Nov 2016 18:03:17 -0000 (UTC) Date: Wed, 23 Nov 2016 18:03:00 -0000 From: Alexey Neyman Reply-To: Alexey Neyman To: crossgcc@sourceware.org Message-ID: <5835d9e59b8d7_27aa3fefbf6c9140735a8@hookshot-fe2-cp1-prd.iad.github.net.mail> Subject: [crosstool-ng/crosstool-ng] 6c6829: xtensa: fix endianness support Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5835d9e59b21c_27aa3fefbf6c914073461"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00021.txt.bz2 ----==_mimepart_5835d9e59b21c_27aa3fefbf6c914073461 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 6163 Branch: refs/heads/master Home: https://github.com/crosstool-ng/crosstool-ng Commit: 6c6829a0610e6282be922183c9601cb2365df9a4 https://github.com/crosstool-ng/crosstool-ng/commit/6c6829a0610e6282be922183c9601cb2365df9a4 Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M config/arch/xtensa.in M samples/xtensa-unknown-linux-uclibc/crosstool.config M scripts/build/arch/xtensa.sh Log Message: ----------- xtensa: fix endianness support To build uClibc correctly we need correct endianness selected in the crosstool-NG. Xtensa cores may be little- or big-endian, but this property is static. The toolchain knows the core endianness and doesn't need options to select it. Enable ARCH_SUPPORTS_BOTH_ENDIAN and select LE by default. Specify empty CT_ARCH_ENDIAN_CFLAG so that -m{big,little}-endian don't get added to the TARGET_CFLAGS, as it's not supported by gcc. Specify empty CT_ARCH_ENDIAN_LDFLAG so that -EB/-EL don't get added to the TARGET_LDFLAGS as they are ignored. Select big-endian in the example xtensa-unknown-linux-uclibc configuration. This fixes uClibc toolchain build for little-endian cores. Signed-off-by: Max Filippov Commit: fe3cca91d24ada592d19321764bbc5cb4ca338a1 https://github.com/crosstool-ng/crosstool-ng/commit/fe3cca91d24ada592d19321764bbc5cb4ca338a1 Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: A patches/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch Log Message: ----------- gcc: fix xtensa_fallback_frame_state for call0 ABI This allows for stack unwinding over signal frames on xtensa linux with call0 ABI. Signed-off-by: Max Filippov Commit: 73b11177c22440dc3eb9aee5859d3592ae0b0c8d https://github.com/crosstool-ng/crosstool-ng/commit/73b11177c22440dc3eb9aee5859d3592ae0b0c8d Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: A patches/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch Log Message: ----------- gcc: fix libgcc build with --text-section-literals for xtensa This fixes toolchain build with --text-section-literals, which should normally be enabled for linux targets. Signed-off-by: Max Filippov Commit: fdf35a2fa90ed6f190ea678821b1e2378c86c4f6 https://github.com/crosstool-ng/crosstool-ng/commit/fdf35a2fa90ed6f190ea678821b1e2378c86c4f6 Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M samples/xtensa-unknown-linux-uclibc/crosstool.config Log Message: ----------- samples: add target CFLAGS to xtensa-unknown-linux-uclibc Add -mlongcalls and -mtext-section-literals to target CFLAGS. Target libraries built with these flags have great call range, useful for linux applications. Signed-off-by: Max Filippov Commit: c9b2d11f54e35845ab7eef40d5253559416121cf https://github.com/crosstool-ng/crosstool-ng/commit/c9b2d11f54e35845ab7eef40d5253559416121cf Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: A patches/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch A patches/gcc/6.2.0/870-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch Log Message: ----------- gcc: don't use unwind-dw2-fde-dip with xtensa-elf targets This fixes build for elf target with windowed xtensa core that currently breaks with the following error message: unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory Signed-off-by: Max Filippov Commit: b55c288db921212cc0eb821cf2233250c025beb8 https://github.com/crosstool-ng/crosstool-ng/commit/b55c288db921212cc0eb821cf2233250c025beb8 Author: Max Filippov Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: A patches/gcc/6.2.0/871-xtensa-Fix-PR-target-78118.patch Log Message: ----------- gcc: backport fix for xtensa PR target/78118 This fixes ICE when building libgcc for xtensa with call0 ABI. Signed-off-by: Max Filippov Commit: 51b4a509db982349af6c9b2072b7a6fad0547570 https://github.com/crosstool-ng/crosstool-ng/commit/51b4a509db982349af6c9b2072b7a6fad0547570 Author: Max Filippov Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: A samples/xtensa-fsf-linux-uclibc/crosstool.config A samples/xtensa-fsf-linux-uclibc/reported.by R samples/xtensa-unknown-linux-uclibc/crosstool.config R samples/xtensa-unknown-linux-uclibc/reported.by Log Message: ----------- samples: rename xtensa-unknown-linux-uclibc to xtensa-fsf-linux-uclibc Put xtensa core name to the tuple vendor string (without any overlay the default core is 'fsf') and rename sample directory accordingly. Signed-off-by: Max Filippov Commit: 699a54d8cedef2883ca6834feed99f8f2b077332 https://github.com/crosstool-ng/crosstool-ng/commit/699a54d8cedef2883ca6834feed99f8f2b077332 Author: Alexey Neyman Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M config/arch/xtensa.in A patches/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch A patches/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch A patches/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch A patches/gcc/6.2.0/870-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch A patches/gcc/6.2.0/871-xtensa-Fix-PR-target-78118.patch A samples/xtensa-fsf-linux-uclibc/crosstool.config A samples/xtensa-fsf-linux-uclibc/reported.by R samples/xtensa-unknown-linux-uclibc/crosstool.config R samples/xtensa-unknown-linux-uclibc/reported.by M scripts/build/arch/xtensa.sh Log Message: ----------- Merge pull request #465 from jcmvbkbc/xtensa-endian Xtensa fixes Compare: https://github.com/crosstool-ng/crosstool-ng/compare/0946ce59a096...699a54d8cede ----==_mimepart_5835d9e59b21c_27aa3fefbf6c914073461 Content-Type: text/plain; charset=us-ascii Content-length: 71 -- For unsubscribe information see http://sourceware.org/lists.html#faq ----==_mimepart_5835d9e59b21c_27aa3fefbf6c914073461--