aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-08-23 20:54:45 +0930
committerAlan Modra <amodra@gmail.com>2015-08-23 23:21:48 +0930
commit5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1 (patch)
tree63fab774e518de64b63a7c7c0b911fd3cc421c92 /include/bfdlink.h
parentd579c450dd97470b0601ceb5d3e3d926e7a1333e (diff)
downloadgdb-5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1.zip
gdb-5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1.tar.gz
gdb-5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1.tar.bz2
Reorder enum output_type for better code generation
Works around a gcc bug #67328 for the most commonly used of bfd_link_pic and bfd_link_executable. * bfdlink.h (enum output_type): Reorder enum.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 458a768..43bcc6a 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -264,8 +264,8 @@ struct bfd_elf_version_tree;
enum output_type
{
type_pde,
- type_relocatable,
type_pie,
+ type_relocatable,
type_dll,
};