bfd: Rename read_{signed,unsigned}_leb128, safe_read_leb128
authorPedro Alves <palves@redhat.com>
Fri, 17 Feb 2017 01:26:11 +0000 (01:26 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 17 Feb 2017 01:26:11 +0000 (01:26 +0000)
commit4265548c65907f095e887148f61af4813b106737
tree2a40840e0e87fc63423db4a6e0ec0d9ba483cd52
parent2f0d09c823521a0ca734a818c1a71836302c169d
bfd: Rename read_{signed,unsigned}_leb128, safe_read_leb128

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>

* dwarf2.c, elf-attrs.c, elf32-nds32.c: Adjust all callers.
* libbfd.c (read_unsigned_leb128): Rename to ...
(_bfd_read_unsigned_leb128): ... this.
(read_signed_leb128): Rename to ...
(_bfd_read_signed_leb128): ... this.
(safe_read_leb128): Rename to ...
(_bfd_safe_read_leb128): ... this.
* libbfd-in.h (read_unsigned_leb128): Rename to ...
(_bfd_read_unsigned_leb128): ... this.
(read_signed_leb128): Rename to ...
(_bfd_read_signed_leb128): ... this.
(safe_read_leb128): Rename to ...
(_bfd_safe_read_leb128): ... this.
* libbfd.h: Renegerate.
bfd/ChangeLog
bfd/dwarf2.c
bfd/elf-attrs.c
bfd/elf32-nds32.c
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h