]> git.ipfire.org Git - thirdparty/gcc.git/commit
darwin, configuration, check properly for dwarf2 debug line support
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Dec 2018 08:43:20 +0000 (08:43 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Dec 2018 08:43:20 +0000 (08:43 +0000)
commit0b135c4722a1210b19525b78f8378272058d5471
tree346e8f37b3aa599e8f6bfde3370618218ee78641
parentb5e4c6aee5588d3872c63d325e21b14b347197bc
darwin, configuration, check properly for dwarf2 debug line support

This corrects a long-standing misconfiguration for Darwin.
The assembler supports the “.file” and “.loc” directives, but
the GCC configury was not detecting this because it was
using objdump, which does not exist on most Darwin installations.

We added support for “otool” to GCC and now we can use that to
make the check that’s done with objdump on ELF targets.

2018-12-24  Iain Sandoe  <iain@sandoe.co.uk>

* configure.ac (dwarf2_debug_line): Check for the debug_line
section using otool when there’s no objdump available.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267393 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/configure
gcc/configure.ac