]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arc: Update bfd arc pattern file to allow enable-targets=all
authorClaudiu Zissulescu <claziss@gmail.com>
Mon, 25 Sep 2023 12:00:49 +0000 (15:00 +0300)
committerClaudiu Zissulescu <claziss@gmail.com>
Mon, 25 Sep 2023 12:21:42 +0000 (15:21 +0300)
commit5e5116071b09e187ee3c6b7e86e86114f6a65ef3
tree7d24551d63c31df3f63a3de032f6bc11f33ddff3
parent7345d05aafde53a48d5a587a6d9c1778db78e0f3
arc: Update bfd arc pattern file to allow enable-targets=all

The ARC backend uses a BFD pattern file to generate three ARC targets:
- an BFD ARC target for ARCv1 and ARCv2 CPU families. It also works
for big-endian variants.
- an BFD ARC64 target for ARCv3 64bit machines. It also allows working
with ARCv3 32bit machines.
- an BFD ARC32 target for ARCv4 32bit machines. It also allows working
with ARCv3 64bit machines.

When configuring with `--enable-targets=all` some patterns are defined
multiple times. Fix this issue.

Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
bfd/elfnn-arc.c