From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 32502384B813 for ; Tue, 14 Jun 2022 07:07:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 32502384B813 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25E102Hu016602 for ; Tue, 14 Jun 2022 07:07:22 GMT Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gmhfcmydf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 14 Jun 2022 07:07:22 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 25E765Br021515 for ; Tue, 14 Jun 2022 07:07:21 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3gpngnr9mx-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 14 Jun 2022 07:07:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kKGbfJUcS5iTR5ARdJoN6Y2VvqY37ccudsgExfQQz1EtBvfRWcQwoWBixGVzh3ZG+2zRp6YtWzmL/DT0Gb5P3266ITd69Pima77vVPFuseRQnZPkQWqaxwRfxoKNV6QtJQa6kvFCCtd7Zgz9XGUkI1l1QfYAh1XwugmTLGZdSK7tbPhFqdvc5nuuX0RXpjiHmK00NLC5N4rTbY17NYbcMCXmF4ZcWo/RE5QL6eFmWYCKFnas7p68CHPOBuwDFAXEf9SjvUNFF9h551FOZE5nOhKT6ovFtD07GTUKam6BQtNgVo/TzM8BhOxJSwVhwXIT3kuVaPc+GFJek0lv5xyLMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XEEd10hi89OxzUn4Wrh+006GvacPqQG9Swe4XMQ/ntE=; b=AeLhn64mX0aa1rDrb2FsyPKaPGa2g4Njs/VD1w1g63o8ypJddZIKI+Gy28uupx+RFRcxfbVn+rcnTLeLMRX1Q3QQzb9VOwDj9ZlzM7uH1q6VnLddGTau3zN7t60EuoCe1uB/qvpkurkxbB7rdPOTSshmEnUm/an7EJJkLuP+G/0qATBfar2T3AB67yDJljoCh3zmzm1bC99RooGSdzw8g9ApSl4zKrYoZthYmCgtxzSyqqvNujq5Qtter9kZnCEcFAE7iGRQjKomAzlhN/5tBIDLLk2DIdPkP3LQDlchlDGuj6ZwBikS2vEo6JFP536T/0X9+6ULSDQKhEPVVW6+cw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by CH2PR10MB4184.namprd10.prod.outlook.com (2603:10b6:610:7f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13; Tue, 14 Jun 2022 07:07:12 +0000 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::8862:60b0:854d:7251]) by MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::8862:60b0:854d:7251%6]) with mapi id 15.20.5332.020; Tue, 14 Jun 2022 07:07:12 +0000 From: Indu Bhagat To: binutils@sourceware.org Subject: [PATCH,RFC,V3 0/8] Definition and Implementation of CTF Frame format Date: Tue, 14 Jun 2022 00:06:44 -0700 Message-Id: <20220614070652.1608873-1-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR04CA0370.namprd04.prod.outlook.com (2603:10b6:303:81::15) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2eee3b04-b2da-4cb8-398b-08da4dd48132 X-MS-TrafficTypeDiagnostic: CH2PR10MB4184:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2FK6zclSPCkxZwkgO7asMU1h6TKn4a7WP0ka3ZjVXFVNH0AryN8UBNnLlnmyw/ayLaYBD63Kkc8m7G2xhsRwRfQAQO1PdEPJPoNw4WDs0d/YZaTKZNnnpTJjZXGfIuz8Mgf0hIaN0HpQxLCs5wCY26RGFtJpZQUBORejkNlHMCxNSS5fFpOvPuOapK1w5KC91/tUqCktTV8fEZGCKnGScHPwDSDbtJ3bj+CTzHhQi5opVLqF+xIVfyK/7vk2qCZile8k3weZMM1uDsCW4zTXXoHFGdY7N1UVZLDC5UKoanukWfiydCnVQff1ea2UJyeAW0F58Qtlg0x3Zv073IAGWhI1jt61Id15Bx4pqPBcgwifMfBFddB3jtVBq/zvsMR3Mvpx3AoKHQwNrlvk5oQW8p7ndzldpivnS0vbMca3S1/yN9rTAai/G8OMToS3A1nWUwHM/2wzBZI4T6MQj0Ch2yQfA9BQujkmx+TR1/XpYuYV5fE5QR7yyu7v7Osdheo1iOhzmy/Rvh3YcbbWdpOJaYGUum9ztFBOH1gPoA1+nh7teWcKEAqLFrc6qacRF6BmxoAA8EY0OyfedHzA6+wSUe6zQnhamUFdBY1TeJKsH71bQkKrCLbwyhHiVGRmoTF3dq3leETlg7jAXDe7YBM/dw0fr336K40qee2GZOV7c2f2IgZt/P3hW8fcgEouLSwFD74HOYIPieGOkoLY9ll0hl0ADQJG2KfG3PPZv5UUQObPtggG7/DrRd04Hmap2XRqyuSqP9al5Teyhk/eDhC/2o+kvIfS/oyjM8LW9k2Npkg49iAl4dbtX0lrC/7eX+EItJ3mkpGpjx2+m7s7qYD7GA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2158.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(5660300002)(316002)(44832011)(508600001)(186003)(86362001)(1076003)(66476007)(66556008)(8676002)(66946007)(6916009)(83380400001)(2616005)(38350700002)(26005)(8936002)(36756003)(2906002)(6506007)(52116002)(6666004)(6486002)(38100700002)(966005)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?d3yQDPbM9Sr8R9r3GH1OGNAXzRxIYIdUlTfffVGRr4DvFLfn0UBNmeYs/jVt?= =?us-ascii?Q?F6qXcWj5gWjcJyDfljABzBYuM+IE1xkdEbYNJcijy4FpKR3BewNsk5jWw0Zq?= =?us-ascii?Q?9+UdOSroI2+t+i3Tw1fEfgQp59IpM9GRp7ghyn3ep0WN6MnXgEmpPCD4DvC1?= =?us-ascii?Q?TAAbwqg0Djj9NHYVS9pFWsOAgRGf0OwWR9I2GN16GNLFgFsqrUuwHzGcr4KD?= =?us-ascii?Q?WlIA2YS0Pxlb0JLz5nnwTiMVBKJ9sJqEOz20Wwj/ZPCEg1k53ApWQS2WnY9+?= =?us-ascii?Q?modaWYZYxkzbGkeyjpvLmIt9UYvbAVcPlb5VctJoPo/2ldZKNNF6Gu6nR+RF?= =?us-ascii?Q?yKbUaRvgAthNuMvbyGi5wziLT8wh7TWQDlP5Cei7b2MYT/1SQ6BiyPnnWci3?= =?us-ascii?Q?CL5CbacPUntRaDuxubiuxDHLBanm5hJa2B/ALGve6Mo8XqDouqEfDziOW675?= =?us-ascii?Q?m8OWXZxpLl4bID2HRyTMyWgtlEZfzYCPfSDFQlNqp2PY30IensETCyCVZ9Fx?= =?us-ascii?Q?fxerTvale/TF6pmui0Z7zJlhPLnSP9oDcpdwnhRG/oF/l3lENRJff+RMSPBW?= =?us-ascii?Q?hGSnZgvEGoce9jkh82bwf8ku9C/Aa4U9C6c1vdXtJFVF/zIiJ+LKD1isRI2+?= =?us-ascii?Q?lTGw1NIjK9PLqwLGPSaANZucDezF141zsqGyXHm6MyDsk8qBy3ql50kQTQ+p?= =?us-ascii?Q?LffjuBuEIxvSdo26XpHw0cnvXvjMBtg10199sX3v5vG2tEgWYJSsHABRsNpp?= =?us-ascii?Q?A890AP08Ns7+iFQ3uGihXGb/lNtAqv2zKjANexRZ0/5v2yNBFUOHF+CQS+H9?= =?us-ascii?Q?xuH3gpgfvQ0Wo7PI5Q0IIjD9TqvEV1fQj0sgiidewJRO2NF9vEEZ753HNX52?= =?us-ascii?Q?D5UKre4dDQQSyTW7atVDo3xeYkdJJJN9mhkdhAO3eqkrIy7GvmQ0yFGYH6Fs?= =?us-ascii?Q?SwRmoOZa7ivlrz4NYUB0Xe9/uXNhhgJW0CcwLGkXPg0b6XoPWOPQFRP8FDt9?= =?us-ascii?Q?6CeXHL0QbiQDJvMaOEIZxed9SoMPMB/jNF87fF5wZ3arMEaLPQ62UQyZheSs?= =?us-ascii?Q?fTpDD1pwWcim5txCBLroMGL0pSlQhGbqePcoJdyo8yLMGhKQ5OUCTlMHbOpr?= =?us-ascii?Q?frvkmKCBPMm1py/8x5Jqdw1Kn7mu7bWEiWpe63fZti58IBNtPkrST2M9Sx2W?= =?us-ascii?Q?0AF9/VL3FnVfz7ZdLrVPB7ZTCJrexVvNxer98PIRSU3Q2p7hwx8HrgbpkYIs?= =?us-ascii?Q?0AF5wyx1sct2PjbezvjiCCzU/cShEVMWHZfUbn72jfAqB8eJNAO/hMf0+run?= =?us-ascii?Q?uRNfXavuxbKLYhJwc9DVi0LCpj4gAlmUl/+g3Mp0KIZg3bGlsnUtEVV71vv+?= =?us-ascii?Q?gdzus3vOvennVHds6rPvi49C5Obhbc9j3FCWHhqCIluIHBr+x6aCT+bXqdwg?= =?us-ascii?Q?QgEgPE+bziD+75cGewdtHdpfi1zd/zrShLWxYUF/eFdVfa0sv/KwIZGaPPxO?= =?us-ascii?Q?QJRYHfckJPA83thfxqQHubMgCEwetGTtjaM8tMAcJ8HZqBb8V5Pip3Rurj7G?= =?us-ascii?Q?iMMObQezbqEFcrCpWrBuDHPM+hIP2Sy0wyNubq/QdeJo2Owcwb9Rowjb19jM?= =?us-ascii?Q?O4aANLQWKmnMr1nALIZVHbMIMuhFP+xnOrGZbjOwNeaq7Bi0pcDrpqztiWLm?= =?us-ascii?Q?AxA+813mT6RA4w+E6yfBPoT05BGGjFQZM8zpGTIm6DgSZvNmgWpIh61l7zU4?= =?us-ascii?Q?NA+Y1N/Xq1ur3xKVT2/H+j8cdSVx34Q=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2eee3b04-b2da-4cb8-398b-08da4dd48132 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2022 07:07:12.4179 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kdDKGWdyXEJGLmzYegCkAn9uaemQkKNOcXqBX9JcMgYCwZRYoSzg7oZZ/6UOdpqhfMHWQ2QjY3VUXn7N2QpCwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB4184 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.874 definitions=2022-06-14_02:2022-06-13, 2022-06-14 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206140027 X-Proofpoint-ORIG-GUID: J-anNN2fBCP3A7sSAEE8xdhavQs7j7BY X-Proofpoint-GUID: J-anNN2fBCP3A7sSAEE8xdhavQs7j7BY X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 07:07:26 -0000 Hello, This is version 3 of the previously sent RFC series. Initial (V1) posting contains necessary introductions: https://sourceware.org/pipermail/binutils/2022-May/120731.html V2 posting with some improvements: https://sourceware.org/pipermail/binutils/2022-May/120899.html The commit log of each patch in the current patch series specifies the changes from the version V2 of the respective patch. Briefly, following are the main changes in the current version V3 as compared to V2: 1. Testsuites for gas, ld, libctfframe. 2. Some code cleanup, improvements and bugfixes. This is a work in progress. In the subsequent iterations of the series, I plan to focus on the bloat caused by the CTF Frame unwind information for the plt* entries on x86_64 and enhance the testsuite for CTF Frame. Important note: libctfframe/configure has NOT been included in the patch series, as it causes the size of some patches to go beyond the allowed limit. Please regenerate the libctfframe/configure after applying the series. Please comment and provide feedback, it will help shape the format. At this time, I really need some inputs on: 1. What is a good place for an unwinder based on CTF Frame format ? Currently to facilitate discussion, it is presented in a library of its own: libctfbacktrace which, in turn, uses the libctfframe library for decoding the .ctf_frame section for unwinding. We brainstormed a bit about the possible candidates being libbacktace, libgcc or libunwind ? Are there any recommendations ? Thanks, Indu Bhagat (6): ctf-frame.h: Add CTF Frame format definition gas: add new command line option --gctf-frame gas: generate .ctf_frame bfd: linker: merge .ctf_frame sections readelf/objdump: support for CTF Frame section gdb: sim: buildsystem changes to accommodate libctfframe Weimin Pan (2): libctfframe: add the CTF Frame library unwinder: generate backtrace using CTF Frame format Makefile.def | 5 + Makefile.in | 1289 +++++++++++++- bfd/Makefile.am | 6 +- bfd/Makefile.in | 7 +- bfd/bfd-in2.h | 1 + bfd/configure | 2 +- bfd/configure.ac | 2 +- bfd/elf-bfd.h | 55 + bfd/elf-ctf-frame.c | 510 ++++++ bfd/elf.c | 32 + bfd/elf64-x86-64.c | 97 +- bfd/elflink.c | 52 + bfd/elfxx-x86.c | 362 +++- bfd/elfxx-x86.h | 46 + bfd/section.c | 1 + binutils/Makefile.am | 10 +- binutils/Makefile.in | 10 +- binutils/doc/binutils.texi | 4 + binutils/doc/ctfframe.options.texi | 10 + binutils/objdump.c | 76 + binutils/readelf.c | 47 + config/ctf-frame.m4 | 16 + configure | 2 +- configure.ac | 2 +- gas/Makefile.am | 3 + gas/Makefile.in | 23 +- gas/as.c | 10 +- gas/as.h | 13 +- gas/config/tc-aarch64.c | 42 + gas/config/tc-aarch64.h | 29 + gas/config/tc-i386.c | 46 + gas/config/tc-i386.h | 26 + gas/config/tc-xtensa.c | 1 + gas/ctf-frame-opt.c | 158 ++ gas/doc/as.texi | 19 +- gas/dw2gencfi.c | 30 + gas/dw2gencfi.h | 1 + gas/gen-ctf-frame.c | 1241 +++++++++++++ gas/gen-ctf-frame.h | 142 ++ gas/testsuite/gas/cfi-ctf/cfi-ctf-aarch64-1.d | 20 + gas/testsuite/gas/cfi-ctf/cfi-ctf-aarch64-1.s | 61 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-1.d | 17 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-1.s | 3 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-2.d | 17 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-2.s | 2 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-3.d | 17 + gas/testsuite/gas/cfi-ctf/cfi-ctf-common-3.s | 4 + gas/testsuite/gas/cfi-ctf/cfi-ctf-x86_64-1.d | 22 + gas/testsuite/gas/cfi-ctf/cfi-ctf-x86_64-1.s | 30 + gas/testsuite/gas/cfi-ctf/cfi-ctf.exp | 48 + gas/write.c | 13 + gdb/Makefile.in | 8 +- gdb/acinclude.m4 | 4 +- gdb/configure | 35 +- gdb/configure.ac | 11 + include/ctf-backtrace-api.h | 57 + include/ctf-frame-api.h | 213 +++ include/ctf-frame.h | 256 +++ include/elf/common.h | 1 + include/elf/internal.h | 1 + ld/Makefile.am | 2 + ld/Makefile.in | 2 + ld/configure | 8 +- ld/configure.ac | 3 + ld/ld.texi | 4 +- ld/scripttempl/elf.sc | 2 + ld/testsuite/ld-aarch64/aarch64-elf.exp | 2 + ld/testsuite/ld-aarch64/ctf-frame-bar.s | 7 + ld/testsuite/ld-aarch64/ctf-frame-foo.s | 10 + ld/testsuite/ld-aarch64/ctf-frame-simple-1.d | 26 + ld/testsuite/ld-bootstrap/bootstrap.exp | 8 +- ld/testsuite/ld-ctf-frame/ctf-frame-empty.d | 10 + ld/testsuite/ld-ctf-frame/ctf-frame-empty.s | 2 + ld/testsuite/ld-ctf-frame/ctf-frame.exp | 47 + ld/testsuite/ld-ctf-frame/discard.d | 10 + ld/testsuite/ld-ctf-frame/discard.ld | 9 + ld/testsuite/ld-ctf-frame/discard.s | 13 + ld/testsuite/ld-x86-64/ctf-frame-bar.s | 31 + ld/testsuite/ld-x86-64/ctf-frame-foo.s | 37 + ld/testsuite/ld-x86-64/ctf-frame-simple-1.d | 38 + ld/testsuite/ld-x86-64/x86-64.exp | 1 + ld/testsuite/lib/ld-lib.exp | 45 + libctfframe/Makefile.am | 84 + libctfframe/Makefile.in | 1050 +++++++++++ libctfframe/aclocal.m4 | 1242 +++++++++++++ libctfframe/config.h.in | 144 ++ libctfframe/configure.ac | 82 + libctfframe/ctf-backtrace-err.c | 46 + libctfframe/ctf-backtrace.c | 617 +++++++ libctfframe/ctf-frame-dump.c | 173 ++ libctfframe/ctf-frame-error.c | 49 + libctfframe/ctf-frame-impl.h | 55 + libctfframe/ctf-frame.c | 1545 +++++++++++++++++ libctfframe/testsuite/config/default.exp | 60 + libctfframe/testsuite/lib/ctfframe-lib.exp | 204 +++ .../testsuite/libctfframe.decode/DATA1 | Bin 0 -> 59 bytes .../testsuite/libctfframe.decode/DATA2 | Bin 0 -> 91 bytes .../testsuite/libctfframe.decode/decode.exp | 38 + .../testsuite/libctfframe.decode/frecnt_1.c | 108 ++ .../testsuite/libctfframe.decode/frecnt_1.lk | 3 + .../testsuite/libctfframe.decode/frecnt_2.c | 113 ++ .../testsuite/libctfframe.decode/frecnt_2.lk | 3 + libctfframe/ttest.c | 78 + sim/common/Make-common.in | 7 +- 104 files changed, 11228 insertions(+), 58 deletions(-) create mode 100644 bfd/elf-ctf-frame.c create mode 100644 binutils/doc/ctfframe.options.texi create mode 100644 config/ctf-frame.m4 create mode 100644 gas/ctf-frame-opt.c create mode 100644 gas/gen-ctf-frame.c create mode 100644 gas/gen-ctf-frame.h create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-aarch64-1.d create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-aarch64-1.s create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-1.d create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-1.s create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-2.d create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-2.s create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-3.d create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-common-3.s create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-x86_64-1.d create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf-x86_64-1.s create mode 100644 gas/testsuite/gas/cfi-ctf/cfi-ctf.exp create mode 100644 include/ctf-backtrace-api.h create mode 100644 include/ctf-frame-api.h create mode 100644 include/ctf-frame.h create mode 100644 ld/testsuite/ld-aarch64/ctf-frame-bar.s create mode 100644 ld/testsuite/ld-aarch64/ctf-frame-foo.s create mode 100644 ld/testsuite/ld-aarch64/ctf-frame-simple-1.d create mode 100644 ld/testsuite/ld-ctf-frame/ctf-frame-empty.d create mode 100644 ld/testsuite/ld-ctf-frame/ctf-frame-empty.s create mode 100644 ld/testsuite/ld-ctf-frame/ctf-frame.exp create mode 100644 ld/testsuite/ld-ctf-frame/discard.d create mode 100644 ld/testsuite/ld-ctf-frame/discard.ld create mode 100644 ld/testsuite/ld-ctf-frame/discard.s create mode 100644 ld/testsuite/ld-x86-64/ctf-frame-bar.s create mode 100644 ld/testsuite/ld-x86-64/ctf-frame-foo.s create mode 100644 ld/testsuite/ld-x86-64/ctf-frame-simple-1.d create mode 100644 libctfframe/Makefile.am create mode 100644 libctfframe/Makefile.in create mode 100644 libctfframe/aclocal.m4 create mode 100644 libctfframe/config.h.in create mode 100644 libctfframe/configure.ac create mode 100644 libctfframe/ctf-backtrace-err.c create mode 100644 libctfframe/ctf-backtrace.c create mode 100644 libctfframe/ctf-frame-dump.c create mode 100644 libctfframe/ctf-frame-error.c create mode 100644 libctfframe/ctf-frame-impl.h create mode 100644 libctfframe/ctf-frame.c create mode 100644 libctfframe/testsuite/config/default.exp create mode 100644 libctfframe/testsuite/lib/ctfframe-lib.exp create mode 100644 libctfframe/testsuite/libctfframe.decode/DATA1 create mode 100644 libctfframe/testsuite/libctfframe.decode/DATA2 create mode 100644 libctfframe/testsuite/libctfframe.decode/decode.exp create mode 100644 libctfframe/testsuite/libctfframe.decode/frecnt_1.c create mode 100644 libctfframe/testsuite/libctfframe.decode/frecnt_1.lk create mode 100644 libctfframe/testsuite/libctfframe.decode/frecnt_2.c create mode 100644 libctfframe/testsuite/libctfframe.decode/frecnt_2.lk create mode 100644 libctfframe/ttest.c -- 2.31.1