diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-06 18:55:23 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-14 17:15:42 +0100 |
commit | 33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5 (patch) | |
tree | f87aa89d105e40ccaa5683fe23279e31ee9ba0e1 /gas/MAINTAINERS | |
parent | cb040366b36ca624874e036805ca1fca740dae9f (diff) | |
download | gdb-33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5.zip gdb-33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5.tar.gz gdb-33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5.tar.bz2 |
bfd/arc: Rename enum entries to avoid conflicts
In bfd/elf32-arc.c an enum is created that contains entries with generic
names like 'NONE' and 'OFF'. This has been fine for now, but I had a
need to include opcode/arc.h into bfd/elf32-arc.c. Unfortunately
opcode/arc.h includes a different enum with identical generic names.
Given that changing the enum in the header file could mean wide-ranging
changes, while changing the enum in the .c file is limited to only
changing the one file, I've added a prefix to the enum in the .c file.
This commit does not add the new include, that will come later. There
should be no functional change with this commit.
bfd/ChangeLog:
* elf32-arc.c (tls_got_entries): Add 'TLS_GOT_' prefix to all
entries.
(elf_arc_relocate_section): Update enum uses.
(elf_arc_check_relocs): Likewise.
(elf_arc_finish_dynamic_symbol): Likewise.
Diffstat (limited to 'gas/MAINTAINERS')
0 files changed, 0 insertions, 0 deletions