about summary refs log tree commit diff
path: root/scripts/check-c++-types.sh
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2016-12-27 14:26:05 -0800
committerSteve Ellcey <sellcey@caviumnetworks.com>2016-12-27 14:26:05 -0800
commit9c30df69c485ba93cdb4428c9bea6da371fb16ef (patch)
treed6997a064735e7c7e33ea9dcf632be1c5c4fa659 /scripts/check-c++-types.sh
parent12f1ae05c0b4e3cc58f23d9bb72ab291681ea8a8 (diff)
downloadglibc-9c30df69c485ba93cdb4428c9bea6da371fb16ef.tar.gz
glibc-9c30df69c485ba93cdb4428c9bea6da371fb16ef.tar.xz
glibc-9c30df69c485ba93cdb4428c9bea6da371fb16ef.zip
Add comments to check-c++-types.sh.
	* scripts/check-c++-types.sh: Add comments.
Diffstat (limited to 'scripts/check-c++-types.sh')
-rwxr-xr-xscripts/check-c++-types.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh
index 489c4f066f..f82ffff57e 100755
--- a/scripts/check-c++-types.sh
+++ b/scripts/check-c++-types.sh
@@ -15,6 +15,14 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
+
+# This script creates a list of data types where each type is followed
+# by the C++ mangled name for that type.  That list is then compared
+# against the list in the c++-types.data file for the platform being
+# checked.  Any difference between the two would mean that the C++ ABI
+# had changed and that should not happen even if the change is compatible
+# at the C language level.
+
 #
 # The list of data types has been created with
 # cat <<EOF |