From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 7DF7239A441C for ; Wed, 9 Jun 2021 18:17:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7DF7239A441C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623262662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fWXJbP/viP9Qo7AjAmC7++q3TIWDLQnOaEQ4HE3LVJU=; b=XXHCjq2AyEsaF+GDbYpdvfFln/mHqKIfM9JFVO7hBCGxI2aAyQgHehdxZjYtYVPUc4/uT6 8J7SLi2ZHVYjt8ym6y66yzxRMc0u8YW3FrQHPQXRhuDBrh2j0tVK/OuKb6FMA9C6jo5aIZ 0YT01z0eVPrvWVPuDlbw+KtSdThHmV4= Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-460-p6MmXiIAPBaqignws-XQCA-1; Wed, 09 Jun 2021 14:17:40 -0400 X-MC-Unique: p6MmXiIAPBaqignws-XQCA-1 Received: by mail-pl1-f200.google.com with SMTP id 31-20020a1709020022b02900eeddd708c8so11706988pla.11 for ; Wed, 09 Jun 2021 11:17:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fWXJbP/viP9Qo7AjAmC7++q3TIWDLQnOaEQ4HE3LVJU=; b=uOopa6FVcNNCAdGbEqOzWzTs59QAOkL22qjrcpenb17frjjXSvnb0qKiZTxFsG003D QmQUlQnNDx0nbBkKbIkJ8YsipQApgkLF08CHIT+7qd7P9NV48R9O7rNugmFM+LkQzYVF k5kxSh6jmFdapoyD6KER4jeMhmfjz8kluOTeG0HEwlBzDCALh3V8uF2co+USPB954PrP 1TN2C4aXR/H9LKZdIOmPB7paHMUbcr/xj1ETnn6v0ZZT0WBYgvl0AHHIdaSfra82SVm4 gKrZF5sjjw3V2zpDUxtZWVw4VcSGcWvdppR0ddpBp9DIyKWDTMEuxmJQoAwZJ6d1u+Rh hGzA== X-Gm-Message-State: AOAM532tBK/H9aintauE7ugLRdroSAEg6kjWqBSltZaM0+FNoFSsNZ6N +SG3d8LGxcwrtoZxVWdZkiLLzkWiVyLhPyoBXw7OrP/mMuK2us4cfh9zijkX8qPQ71TUerU+drt m9JX+rBcBhfeGMb2M1E8YT6heLoMMrRo= X-Received: by 2002:a63:ee53:: with SMTP id n19mr971183pgk.268.1623262659281; Wed, 09 Jun 2021 11:17:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfjSQHJN8Hy9gouKSisRUcai50ZU+Pz+vvFHn+FC1VjvaebOSLm9kXadD/94GTug4fPo5YldaCeDVVlfogDFY= X-Received: by 2002:a63:ee53:: with SMTP id n19mr971171pgk.268.1623262659094; Wed, 09 Jun 2021 11:17:39 -0700 (PDT) MIME-Version: 1.0 References: <1784145.tdWV9SEqCh@dinux-standardpcq35ich92009> In-Reply-To: <1784145.tdWV9SEqCh@dinux-standardpcq35ich92009> From: Jeff Johnston Date: Wed, 9 Jun 2021 14:17:27 -0400 Message-ID: Subject: Re: Cleanups for pru target To: Dimitar Dimitrov Cc: Newlib Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jjohnstn@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2021 18:17:44 -0000 Thanks Dimitar. Patches applied. -- Jeff J. On Fri, Jun 4, 2021 at 4:38 PM Dimitar Dimitrov wrote: > Hi, > > I'm attaching two improvements to help the PRU target with --gc-sections, > and > one cleanup allowed by a recent Binutils change. > > Regards, > Dimitar > > > Dimitar Dimitrov (3): > libgloss: pru: Remove sim ld script > pru: Enable -ffunction-sections and -fdata-sections > libgloss: pru: Place sim syscalls into their own sections > > libgloss/pru/Makefile.in | 10 +- > libgloss/pru/device-specs/sim | 2 +- > libgloss/pru/ldscripts/gen-ld-scripts.sh | 80 --------- > libgloss/pru/ldscripts/pruelf-sim.x | 200 ----------------------- > libgloss/pru/syscalls.S | 4 +- > newlib/configure.host | 1 + > 6 files changed, 6 insertions(+), 291 deletions(-) > delete mode 100755 libgloss/pru/ldscripts/gen-ld-scripts.sh > delete mode 100644 libgloss/pru/ldscripts/pruelf-sim.x >