Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common Make the .note section mergable and set prope...
details: https://anonhg.NetBSD.org/src/rev/9a82adc96d4f
branches: trunk
changeset: 327064:9a82adc96d4f
user: martin <martin%NetBSD.org@localhost>
date: Wed Feb 26 14:54:50 2014 +0000
description:
Make the .note section mergable and set proper "item" length.
XXX seems to be impossible to do that with gas w/o causing a (bogus)
warning - but the resulting object file is fine.
diffstat:
lib/csu/common/compident.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 64c38e9cee90 -r 9a82adc96d4f lib/csu/common/compident.S
--- a/lib/csu/common/compident.S Wed Feb 26 13:50:29 2014 +0000
+++ b/lib/csu/common/compident.S Wed Feb 26 14:54:50 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compident.S,v 1.1 2013/11/14 12:19:34 martin Exp $ */
+/* $NetBSD: compident.S,v 1.2 2014/02/26 14:54:50 martin Exp $ */
/*-
* Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
#include "sysident_assym.h"
- .section ".note.netbsd.mcmodel", "a"
+ .section .note.netbsd.mcmodel,"aM",@note,3*4+CONTENTLENGTH+ELF_NOTE_MCMODEL_NAMESZ+1
.p2align 2
.long ELF_NOTE_MCMODEL_NAMESZ
Home |
Main Index |
Thread Index |
Old Index