]> sourceware.org Git - newlib-cygwin.git/commit
arc: libc, libgloss: Remove .file directive from .S files
authorYuriy Kolerov <kolerov93@gmail.com>
Tue, 21 May 2024 09:56:46 +0000 (10:56 +0100)
committerJeff Johnston <jjohnstn@redhat.com>
Wed, 22 May 2024 18:25:21 +0000 (14:25 -0400)
commit880d537347be5658afcedca6d4a04070dc1ce3bf
treed4b43662bbfb3531e08186ad365e0c8b38f9ba31
parentd85bb55f455100b71708bf0a886a9fac958b4191
arc: libc, libgloss: Remove .file directive from .S files

Assembler for ARCv2 always extends the name provided by
.file directive to an absolute form.

On ARCv3 targets .file directive forces assembler to put
a provided string to DW_AT_name field as is without
extending to an absolute path. Then GDB cannot find
source files because of it.

The best way to fix this issue is just delete lines
with .file directive in .S files and let the compiler
to decide what DW_AT_name must contain. Particularly,
the compiler fills this filed by an absolute path to
a .S file because only absolute paths are used in
toolchain's build process.

Signed-off-by: Yuriy Kolerov <kolerov93@gmail.com>
libgloss/arc/crt0.S
newlib/libc/machine/arc/setjmp.S
This page took 0.032726 seconds and 5 git commands to generate.