/* 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.
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;