From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126920 invoked by alias); 28 Jul 2017 08:29:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 126844 invoked by uid 89); 28 Jul 2017 08:29:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.2 spammy=air, Fax X-HELO: dedi548.your-server.de Received: from dedi548.your-server.de (HELO dedi548.your-server.de) (85.10.215.148) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Jul 2017 08:29:27 +0000 Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1db0eC-0002YU-B8; Fri, 28 Jul 2017 10:29:24 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy02.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1db0eC-0007bY-3q; Fri, 28 Jul 2017 10:29:24 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id E448C2A004F; Fri, 28 Jul 2017 10:29:33 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cLh7qtaveJ9x; Fri, 28 Jul 2017 10:29:32 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 9E3262A160A; Fri, 28 Jul 2017 10:29:32 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vvXNqlEcg6Fu; Fri, 28 Jul 2017 10:29:32 +0200 (CEST) Received: from [192.168.96.129] (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 5F4982A004F; Fri, 28 Jul 2017 10:29:32 +0200 (CEST) Subject: Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI To: Segher Boessenkool Cc: gcc-patches@gcc.gnu.org References: <20170725122521.10857-1-sebastian.huber@embedded-brains.de> <20170726175619.GP13471@gate.crashing.org> <4518ab10-1391-5d3b-4b7e-af1e502d0919@embedded-brains.de> <20170727195739.GX13471@gate.crashing.org> From: Sebastian Huber Message-ID: Date: Fri, 28 Jul 2017 08:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170727195739.GX13471@gate.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg01889.txt.bz2 On 27/07/17 21:57, Segher Boessenkool wrote: > On Thu, Jul 27, 2017 at 07:28:30AM +0200, Sebastian Huber wrote: >>> This deletes eabi.h and I don't see you add all its definitions to >>> rtems.h directly (NAME__MAIN etc.) Is this on purpose? >> Yes, I always wondered why GCC added the __eabi() call to main() out of >> thin air. In general, there is no main() function in RTEMS. Instead, you >> can statically configure initialization threads. We call __eabi() in the >> low-level startup code, e.g. >> >> https://git.rtems.org/rtems/tree/c/src/lib/libbsp/powerpc/qoriq/start/st= art.S#n144 > Heh, I always thought the EABI must require it, but it seems to be a GCC > invention. > > Patch looks fine to me then. You can approve it yourself of course:-) Thanks for your review, I checked it in in mainline and 7 branch. Would you mind having a look at: https://gcc.gnu.org/ml/gcc/2017-07/msg00196.html Is the small data area no longer supported by GCC for 64-bit PowerPC? --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG.