Use symbolic constants instead of magic numbers with add_data_entry()
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 2 Jun 2016 13:46:58 +0000 (13:46 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 4 Apr 2017 18:12:27 +0000 (19:12 +0100)
commit477bdd393c8145ad44899cb4681d57a61c82aad3
tree820f7a8f21f41732c694b4f1c20d2960cb6a654b
parenta91e1603afb6704545793e967a1a3dfe96b389de
Use symbolic constants instead of magic numbers with add_data_entry()

Use symbolic constants from include/coff/internal.h instead of magic numbers
with add_data_entry()

bfd/ChangeLog:

2017-04-02  Jon Turney  <jon.turney@dronecode.org.uk>

(_bfd_XXi_swap_aouthdr_out): For clarity, use defines rather than
numbers for DataDirectory entry indicies passed to
add_data_entry().
bfd/ChangeLog
bfd/peXXigen.c