aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorwill schmidt <will_schmidt@vnet.ibm.com>2021-07-27 10:34:45 -0500
committerAlan Modra <amodra@gmail.com>2021-07-28 13:36:58 +0930
commit254db2f3369039ba20d9a418dc07542c1617eeb1 (patch)
tree46df3ec3f659926800399268d16c7e99713d4e17 /bfd/bfd-in2.h
parentb25f942e18d6ecd7ec3e2d2e9930eb4f996c258a (diff)
downloadgdb-254db2f3369039ba20d9a418dc07542c1617eeb1.zip
gdb-254db2f3369039ba20d9a418dc07542c1617eeb1.tar.gz
gdb-254db2f3369039ba20d9a418dc07542c1617eeb1.tar.bz2
Externalize the _bfd_set_gp_value function
This change adds an external-visible wrapper for the _bfd_set_gp_value function. This is a prerequisite for some gdb patches that better handle powerpc64le relocations against ".TOC.". * bfd.c (bfd_set_gp_value): New externally visible wrapper for _bfd_set_gp_value. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 43d4ff0..4156f74 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -7106,6 +7106,8 @@ unsigned int bfd_get_gp_size (bfd *abfd);
void bfd_set_gp_size (bfd *abfd, unsigned int i);
+void bfd_set_gp_value (bfd *abfd, bfd_vma v);
+
bfd_vma bfd_scan_vma (const char *string, const char **end, int base);
bool bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);