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.
This commit is contained in:
Alan Modra 2015-08-23 20:54:45 +09:30
parent d579c450dd
commit 5f329d5b14
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -264,8 +264,8 @@ struct bfd_elf_version_tree;
enum output_type
{
type_pde,
type_relocatable,
type_pie,
type_relocatable,
type_dll,
};