diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/bfd-in2.h | 2 | ||||
-rw-r--r-- | bfd/bfd.c | 18 |
2 files changed, 20 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); @@ -1862,6 +1862,24 @@ _bfd_set_gp_value (bfd *abfd, bfd_vma v) /* FUNCTION + bfd_set_gp_value + +SYNOPSIS + void bfd_set_gp_value (bfd *abfd, bfd_vma v); + +DESCRIPTION + Allow external access to the fucntion to set the GP value. + This is specifically added for gdb-compile support. +*/ + +void +bfd_set_gp_value (bfd *abfd, bfd_vma v) +{ + return _bfd_set_gp_value (abfd, v); +} + +/* +FUNCTION bfd_scan_vma SYNOPSIS |