Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc Detect advance_loc support with r...
details: https://anonhg.NetBSD.org/src/rev/163cc89f543c
branches: trunk
changeset: 355186:163cc89f543c
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jul 17 19:55:13 2017 +0000
description:
Detect advance_loc support with readelf, not objdump. The latter is
broken in some situations before binutils 2.28.
diffstat:
external/gpl3/gcc/dist/gcc/configure | 2 +-
external/gpl3/gcc/dist/gcc/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 4c1d44aadc18 -r 163cc89f543c external/gpl3/gcc/dist/gcc/configure
--- a/external/gpl3/gcc/dist/gcc/configure Mon Jul 17 19:53:50 2017 +0000
+++ b/external/gpl3/gcc/dist/gcc/configure Mon Jul 17 19:55:13 2017 +0000
@@ -22891,7 +22891,7 @@
test $ac_status = 0; }; }
then
-if $gcc_cv_objdump -Wf conftest.o 2>/dev/null \
+if $gcc_cv_readelf --debug-dump=frames conftest.o 2>/dev/null \
| grep 'DW_CFA_advance_loc[24]:[ ][ ]*75040[ ]' >/dev/null; then
gcc_cv_as_cfi_advance_working=yes
fi
diff -r 4c1d44aadc18 -r 163cc89f543c external/gpl3/gcc/dist/gcc/configure.ac
--- a/external/gpl3/gcc/dist/gcc/configure.ac Mon Jul 17 19:53:50 2017 +0000
+++ b/external/gpl3/gcc/dist/gcc/configure.ac Mon Jul 17 19:55:13 2017 +0000
@@ -2693,7 +2693,7 @@
.cfi_adjust_cfa_offset 128
.cfi_endproc],
[[
-if $gcc_cv_objdump -Wf conftest.o 2>/dev/null \
+if $gcc_cv_readelf --debug-dump=frames conftest.o 2>/dev/null \
| grep 'DW_CFA_advance_loc[24]:[ ][ ]*75040[ ]' >/dev/null; then
gcc_cv_as_cfi_advance_working=yes
fi
Home |
Main Index |
Thread Index |
Old Index