diff options
author | Pedro Alves <palves@redhat.com> | 2017-02-17 01:26:12 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-02-17 01:26:12 +0000 |
commit | c7c3d11bead272b718bade379e3441ff239bbd16 (patch) | |
tree | a6b92625643c23692755fe0625947b56e5fe82fe /bfd/dwarf2.c | |
parent | 4265548c65907f095e887148f61af4813b106737 (diff) | |
download | gdb-c7c3d11bead272b718bade379e3441ff239bbd16.zip gdb-c7c3d11bead272b718bade379e3441ff239bbd16.tar.gz gdb-c7c3d11bead272b718bade379e3441ff239bbd16.tar.bz2 |
bfd: Rename real_{ftell, fseek, fopen}
Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.
bfd/ChangeLog:
2017-02-17 Pedro Alves <palves@redhat.com>
* bfdio.c (real_ftell): Rename to ...
(_bfd_real_ftell): ... this.
(real_fseek): Rename to ...
(_bfd_real_fseek): ... this.
(real_fopen): Rename to ...
(_bfd_real_fopen): ... this.
* libbfd-in.h (real_ftell): Rename to ...
(_bfd_real_ftell): ... this.
(real_fseek): Rename to ...
(_bfd_real_fseek): ... this.
(real_fopen): Rename to ...
(_bfd_real_fopen): ... this.
* cache.c, dwarf2.c, opncls.c: Adjust all callers.
* libbfd.h: Regenerate.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 25a9ebc..722ee0d 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -906,7 +906,8 @@ read_abbrevs (bfd *abfd, bfd_uint64_t offset, struct dwarf2_debug *stash) abbrev_ptr = stash->dwarf_abbrev_buffer + offset; abbrev_end = stash->dwarf_abbrev_buffer + stash->dwarf_abbrev_size; - abbrev_number = safe_read_leb128 (abfd, abbrev_ptr, &bytes_read, FALSE, abbrev_end); + abbrev_number = _bfd_safe_read_leb128 (abfd, abbrev_ptr, &bytes_read, + FALSE, abbrev_end); abbrev_ptr += bytes_read; /* Loop until we reach an abbrev number of 0. */ |