This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Reorder enum output_type for better code generation


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1

commit 5f329d5b1409dfb86e3eb6a22e9f84cc58c254b1
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Aug 23 20:54:45 2015 +0930

    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:
---
 include/ChangeLog | 4 ++++
 include/bfdlink.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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,
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]