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/sys Catch up with Elft...
details: https://anonhg.NetBSD.org/src/rev/f98ffb424b40
branches: trunk
changeset: 365905:f98ffb424b40
user: jkoshy <jkoshy%NetBSD.org@localhost>
date: Mon May 02 20:27:43 2022 +0000
description:
Catch up with Elftoolchain upstream <r3980>.
diffstat:
external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 | 16 +++++++++++-
external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 | 8 ++++-
2 files changed, 20 insertions(+), 4 deletions(-)
diffs (80 lines):
diff -r 1707c3316abc -r f98ffb424b40 external/bsd/elftoolchain/dist/common/sys/elfconstants.m4
--- a/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 Mon May 02 20:09:48 2022 +0000
+++ b/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 Mon May 02 20:27:43 2022 +0000
@@ -1,4 +1,4 @@
-dnl $NetBSD: elfconstants.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $
+dnl $NetBSD: elfconstants.m4,v 1.4 2022/05/02 20:27:43 jkoshy Exp $
# Copyright (c) 2010,2021 Joseph Koshy
# All rights reserved.
@@ -33,7 +33,7 @@
# - The "Linkers and Libraries Guide", from Sun Microsystems.
define(`VCSID_ELFCONSTANTS_M4',
- `Id: elfconstants.m4 3946 2021-04-10 21:10:42Z jkoshy')
+ `Id: elfconstants.m4 3980 2022-05-02 19:50:00Z jkoshy')
# In the following definitions, `_' is an M4 macro that is meant to be
# expanded later. Its intended usage is:
@@ -594,6 +594,12 @@
_(ELFMAG3, 0x46U)
')
+# Additional ELFMAG related constants.
+define(`DEFINE_ELF_MAGIC_ADDITIONAL_CONSTANTS',`
+_(ELFMAG, "\177ELF")
+_(SELFMAG, 4)
+')
+
#
# ELF OS ABI field.
#
@@ -1500,6 +1506,12 @@
`end of processor-specific types')
')
+# Additional symbol type related constants.
+define(`DEFINE_SYMBOL_TYPES_ADDITIONAL_CONSTANTS',`
+_(STT_NUM, 7,
+ `the number of symbol types')
+')
+
#
# Symbol binding.
#
diff -r 1707c3316abc -r f98ffb424b40 external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4
--- a/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Mon May 02 20:09:48 2022 +0000
+++ b/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Mon May 02 20:27:43 2022 +0000
@@ -1,4 +1,4 @@
-dnl $NetBSD: elfdefinitions.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $
+dnl $NetBSD: elfdefinitions.m4,v 1.4 2022/05/02 20:27:43 jkoshy Exp $
/*-
* Copyright (c) 2010,2021 Joseph Koshy
* All rights reserved.
@@ -26,7 +26,7 @@
*/
divert(-1)
define(`VCSID_ELFDEFINITIONS_M4',
- `Id: elfdefinitions.m4 3947 2021-04-10 21:15:17Z jkoshy')
+ `Id: elfdefinitions.m4 3980 2022-05-02 19:50:00Z jkoshy')
include(`elfconstants.m4')dnl
define(`_',`ifelse(eval(len($1) <= 7),1,
@@ -101,6 +101,8 @@
* These numbers are: 0x7F, 'E', 'L' and 'F'.
*/
DEFINE_ELF_MAGIC_VALUES()
+/* Additional magic-related constants. */
+DEFINE_ELF_MAGIC_ADDITIONAL_CONSTANTS()
/*
* ELF OS ABI field.
@@ -175,6 +177,8 @@
* Symbol types
*/
DEFINE_SYMBOL_TYPES()
+/* Additional constants related to symbol types. */
+DEFINE_SYMBOL_TYPES_ADDITIONAL_CONSTANTS()
/*
* Symbol binding.
Home |
Main Index |
Thread Index |
Old Index