From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20572 invoked by alias); 21 Jan 2013 06:09:17 -0000 Received: (qmail 20556 invoked by uid 22791); 21 Jan 2013 06:09:15 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_05,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE,TW_BF X-Spam-Check-By: sourceware.org Received: from db3ehsobe001.messaging.microsoft.com (HELO db3outboundpool.messaging.microsoft.com) (213.199.154.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Jan 2013 06:09:09 +0000 Received: from mail42-db3-R.bigfish.com (10.3.81.238) by DB3EHSOBE010.bigfish.com (10.3.84.30) with Microsoft SMTP Server id 14.1.225.23; Mon, 21 Jan 2013 06:09:07 +0000 Received: from mail42-db3 (localhost [127.0.0.1]) by mail42-db3-R.bigfish.com (Postfix) with ESMTP id D96DAA01A2 for ; Mon, 21 Jan 2013 06:09:07 +0000 (UTC) X-Forefront-Antispam-Report: CIP:149.199.60.83;KIP:(null);UIP:(null);IPV:NLI;H:xsj-gw1;RD:unknown-60-83.xilinx.com;EFVD:NLI X-SpamScore: -2 X-BigFish: VPS-2(zz936eI154dI4015Izz1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2fh95h668h839hd24hf0ah119dh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14ddh1504h1537h162dh1631h1758h1898h906i1155h) Received-SPF: pass (mail42-db3: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=nathan.rossi@xilinx.com; helo=xsj-gw1 ;helo=xsj-gw1 ; Received: from mail42-db3 (localhost.localdomain [127.0.0.1]) by mail42-db3 (MessageSwitch) id 1358748545860085_17440; Mon, 21 Jan 2013 06:09:05 +0000 (UTC) Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.254]) by mail42-db3.bigfish.com (Postfix) with ESMTP id CFA2714004C for ; Mon, 21 Jan 2013 06:09:05 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server id 14.1.225.23; Mon, 21 Jan 2013 06:09:02 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1TxAZ4-0007Rj-2C for libffi-discuss@sourceware.org; Sun, 20 Jan 2013 22:09:02 -0800 From: Nathan Rossi To: CC: Nathan Rossi Subject: [PATCH 0/3] MicroBlaze Port Date: Mon, 21 Jan 2013 06:09:00 -0000 X-RCIS-Action: ALLOW MIME-Version: 1.0 Content-Type: text/plain Message-ID: X-OriginatorOrg: xilinx.com X-IsSubscribed: yes Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org X-SW-Source: 2013/txt/msg00006.txt.bz2 Xilinx would like to contribute a port of libffi for the MicroBlaze architecture, supporting both Little and Big Endian configurations. Below is the proposed ChangeLog. 2013-01-21 Nathan Rossi * README: Add MicroBlaze details. * Makefile.am: Add MicroBlaze support. * configure.ac: Likewise. * src/microblaze/ffi.c: New. * src/microblaze/ffitarget.h: Likewise. * src/microblaze/sysv.S: Likewise. 2013-01-21 Nathan Rossi * testsuite/libffi.call/return_uc.c: Fixed issue. I have sent the following patches seperately. Please let me know if there is anything else needed. Thanks, Nathan Nathan Rossi (3): MicroBlaze Port Added support for building MicroBlaze testsuite: libffi.call/return_uc.c: Fixed casting Makefile.am | 7 +- README | 2 + configure.ac | 5 + src/microblaze/ffi.c | 339 +++++++++++++++++++++++++++++++++++++ src/microblaze/ffitarget.h | 53 ++++++ src/microblaze/sysv.S | 302 +++++++++++++++++++++++++++++++++ testsuite/libffi.call/return_uc.c | 2 +- 7 files changed, 708 insertions(+), 2 deletions(-) create mode 100644 src/microblaze/ffi.c create mode 100644 src/microblaze/ffitarget.h create mode 100644 src/microblaze/sysv.S -- 1.7.5.4