]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/rx/ChangeLog
sim/rx: add some missing includes
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 1 Feb 2021 11:28:09 +0000 (11:28 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Feb 2021 11:01:07 +0000 (11:01 +0000)
commitfab2b376e305bfb4c55a51a15d8c7a293628d735
tree0a2a6206f8486411f8d1ebbb8857ec4d16934c26
parentae41b4ce9f3e2baf7cb44db5ebd34147caf434f3
sim/rx: add some missing includes

In load.c there's some GCC warnings about undefined
functions (bfd_get_elf_phdr_upper_bound and bfd_get_elf_phdrs).  To
get the declarations of these functions include 'elf-bfd.h'.  This
headers also pulls in other elf related headers, like 'elf/internal.h'
and 'elf/common.h', so these no longer need to be explicitly included
from load.c.

In trace.c and include for trace.h is missing, again this results in
GCC warnings for missing function declarations.

sim/rx/ChangeLog:

* load.c: Replace 'elf/internal.h' and 'elf/common.h' includes
with 'elf-bfd.h' include.
* trace.c: Add 'trace.h' include.
sim/rx/ChangeLog
sim/rx/load.c
sim/rx/trace.c