summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-01-25 18:29:16 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-01-25 18:29:34 +0100
commitb471c5f6213db85a3ac35e98a0a1054dc9eb9ad3 (patch)
tree628a16ea038d55db2867aeef6fdbef30b9aa1c0e /ConfigureChecks.cmake
parent38141ddb71b200c6e2dd629aed6e7bc51e8ad7a6 (diff)
downloadlibr-master.tar.gz
libr-master.zip
Update for API change in binutils 2.46.HEADmaster
According to the commit message in binutils, it was a simple renaming of `*_set_reloc` to `*_finalize_section_relocs` without changing the functionality. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3590495..af683ff 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -40,6 +40,7 @@ if( WITH_BACKEND_LIBBFD )
bfd_copy_private_section_data(ihandle, iscn, ohandle, oscn, NULL);
}"
HAVE_BFD_2_45)
+ check_symbol_exists( bfd_finalize_section_relocs bfd.h HAVE_BFD_2_46 )
tde_restore( CMAKE_REQUIRED_LIBRARIES )
tde_restore( CMAKE_REQUIRED_DEFINITIONS )
set( BACKEND_LIBRARIES "-lbfd" )