diff mbox

[RFC,1/5] MIPS: linkmap.h: Reformat, add copyright notice

Message ID alpine.DEB.2.00.1511200640270.6915@tp.orcam.me.uk
State New
Headers show

Commit Message

Maciej W. Rozycki Nov. 20, 2015, 7:29 a.m. UTC
* sysdeps/mips/linkmap.h: Add copyright notice.
	(link_map_machine): Reformat.
---
glibc-mips-linkmap-fix.diff
diff mbox

Patch

Index: glibc/sysdeps/mips/linkmap.h
===================================================================
--- glibc.orig/sysdeps/mips/linkmap.h	2015-07-10 13:27:15.000000000 +0100
+++ glibc/sysdeps/mips/linkmap.h	2015-07-10 13:32:17.328030641 +0100
@@ -1,6 +1,24 @@ 
+/* Machine-specific link map part.  MIPS version.
+   Copyright (C) 2014-2015 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   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/>.  */
+
 struct link_map_machine
   {
-    ElfW(Addr) plt; /* Address of .plt */
-    ElfW(Word) fpabi; /* FP ABI of the object */
-    unsigned int odd_spreg; /* Does the object require odd_spreg support? */
+    ElfW (Addr) plt;		/* Address of .plt.  */
+    ElfW (Word) fpabi;		/* FP ABI of the object.  */
+    unsigned int odd_spreg;	/* Odd single-precision registers used? */
   };