LoongArch: Add R_LARCH_64_PCREL relocation support
[binutils-gdb.git] / gas / remap.c
index 2af7a9e87ffdf9d1d94305aa9887e1dc5385feba..9da16a851f4007dbdd837df79dcf9736bd77cf1c 100644 (file)
@@ -1,5 +1,5 @@
 /* Remap file names for debug info for GNU assembler.
-   Copyright (C) 2007-2016 Free Software Foundation, Inc.
+   Copyright (C) 2007-2023 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -69,7 +69,7 @@ add_debug_prefix_map (const char *arg)
    a newly allocated buffer containing the name corresponding to FILENAME.
    It is the caller's responsibility to free the buffer.  */
 
-const char *
+char *
 remap_debug_filename (const char *filename)
 {
   debug_prefix_map *map;