Make linker scripts and section ordering via --section-ordering-file or
[deliverable/binutils-gdb.git] / opcodes / arc-ext.c
index 07419bf158c0fee12c96ce310ce6d0ea682e8da9..376cd0316e3d5efcef58c4befad5745286849f32 100644 (file)
@@ -1,22 +1,23 @@
 /* ARC target-dependent stuff. Extension structure access functions
-   Copyright 1995, 1997, 2000, 2001, 2004, 2005
+   Copyright 1995, 1997, 2000, 2001, 2004, 2005, 2007, 2009
    Free Software Foundation, Inc.
 
-   This file is part of GDB.
+   This file is part of libopcodes.
 
-   This program is free software; you can redistribute it and/or modify
+   This library is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
 
-   This program 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 General Public License for more details.
+   It 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 General Public
+   License for more details.
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
 
 #include "sysdep.h"
 #include <stdlib.h>
@@ -147,8 +148,8 @@ cleanup_ext_map(void)
 int
 arcExtMap_add(void *base, unsigned long length)
 {
-  unsigned char *block = base;
-  unsigned char *p = block;
+  unsigned char *block = (unsigned char *) base;
+  unsigned char *p = (unsigned char *) block;
 
   /* Clean up and reset everything if needed.  */
   cleanup_ext_map();
This page took 0.036896 seconds and 4 git commands to generate.