Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/elftoolchain/dist/common Catch up with Elftoolc...



details:   https://anonhg.NetBSD.org/src/rev/d7bd329e6855
branches:  trunk
changeset: 365926:d7bd329e6855
user:      jkoshy <jkoshy%NetBSD.org@localhost>
date:      Tue May 03 16:47:15 2022 +0000

description:
Catch up with Elftoolchain head: changes to support 'tools' builds
out of the box.

diffstat:

 external/bsd/elftoolchain/dist/common/_elftc.h |  22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r 641b91399996 -r d7bd329e6855 external/bsd/elftoolchain/dist/common/_elftc.h
--- a/external/bsd/elftoolchain/dist/common/_elftc.h    Tue May 03 14:20:24 2022 +0000
+++ b/external/bsd/elftoolchain/dist/common/_elftc.h    Tue May 03 16:47:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _elftc.h,v 1.8 2021/03/10 21:36:29 jkoshy Exp $        */
+/*     $NetBSD: _elftc.h,v 1.9 2022/05/03 16:47:15 jkoshy Exp $        */
 
 /*-
  * Copyright (c) 2009 Joseph Koshy
@@ -25,7 +25,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * Id: _elftc.h 3933 2021-03-10 21:09:49Z jkoshy
+ * Id: _elftc.h 3975 2022-04-30 20:10:58Z jkoshy
  */
 
 /**
@@ -285,11 +285,11 @@
 /*
  * VCS Ids.
  *
- * The marker below is intended to be replaced with a project-specific
+ * The place holder below is intended to be replaced with a project-specific
  * definition of the ELFTC_VCSID macro.
  */
 
-#ifndef ELFTC_VCSID
+#ifndef        ELFTC_VCSID
 #define        ELFTC_VCSID(ID)         /**/
 #endif
 
@@ -317,6 +317,20 @@
 #endif /* ELFTC_VCSID */
 
 /*
+ * The place holder below is meant to be replaced by a declaration
+ * of the downstream project's revision control macro.
+ *
+ * E.g. on NetBSD, this place holder would be replaced by:
+ *
+ *   #if !defined(__RCSID)
+ *   #define __RCSID(ID)
+ *   #endif
+ */
+#if !defined(__RCSID)
+#define __RCSID(ID) /**/
+#endif  /* !defined(__RCSID) */
+
+/*
  * Provide an equivalent for getprogname(3).
  */
 



Home | Main Index | Thread Index | Old Index