From: Alan Modra Date: Sun, 23 Aug 2015 11:24:45 +0000 (+0930) Subject: Reorder enum output_type for better code generation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1;p=binutils-gdb.git 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. --- diff --git a/include/ChangeLog b/include/ChangeLog index e4dad82d52c..4fedda7ad0f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2015-08-23 Alan Modra + + * bfdlink.h (enum output_type): Reorder enum. + 2015-08-19 Alan Modra * bfdlink.h (enum output_type): Delete type_executable, add type_pde diff --git a/include/bfdlink.h b/include/bfdlink.h index 458a768b213..43bcc6a9040 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, };