[libc-commits] [PATCH] D87687: [libc] Fix typo in platform_defs.h.inc

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 05:05:44 PDT 2020


gchatelet created this revision.
gchatelet added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
gchatelet requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87687

Files:
  libc/config/linux/platform_defs.h.inc
  libc/config/linux/platfrom_defs.h.inc
  libc/src/__support/CMakeLists.txt


Index: libc/src/__support/CMakeLists.txt
===================================================================
--- libc/src/__support/CMakeLists.txt
+++ libc/src/__support/CMakeLists.txt
@@ -2,8 +2,8 @@
   common
   DEF_FILE common.h.def
   PARAMS
-    platform_defs=../../config/${LIBC_TARGET_OS}/platfrom_defs.h.inc
+    platform_defs=../../config/${LIBC_TARGET_OS}/platform_defs.h.inc
   GEN_HDR common.h
   DATA_FILES
-    ../../config/${LIBC_TARGET_OS}/platfrom_defs.h.inc
+    ../../config/${LIBC_TARGET_OS}/platform_defs.h.inc
 )
Index: libc/config/linux/platfrom_defs.h.inc
===================================================================
--- /dev/null
+++ libc/config/linux/platfrom_defs.h.inc
@@ -1,13 +0,0 @@
-//===----- Definition of platform specific macros for ELF paltforms -------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-%%begin()
-
-#define ENTRYPOINT_SECTION_ATTRIBUTE(name) \
-    __attribute__((section(".llvm.libc.entrypoint."#name)))
-#define LLVM_LIBC_ENTRYPOINT(name) ENTRYPOINT_SECTION_ATTRIBUTE(name) name


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87687.291867.patch
Type: text/x-patch
Size: 1295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200915/54414aae/attachment-0001.bin>


More information about the libc-commits mailing list