aboutsummaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/bfdlink.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e4dad82..4fedda7 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-23 Alan Modra <amodra@gmail.com>
+
+ * bfdlink.h (enum output_type): Reorder enum.
+
2015-08-19 Alan Modra <amodra@gmail.com>
* bfdlink.h (enum output_type): Delete type_executable, add type_pde
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,
};