projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e4da5
)
Properly handle by_none
author
H.J. Lu
<hjl.tools@gmail.com>
Wed, 1 Aug 2012 01:07:38 +0000
(
01:07
+0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Wed, 1 Aug 2012 01:07:38 +0000
(
01:07
+0000)
ld/ChangeLog
patch
|
blob
|
history
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index 91e2b83a42f07bf9633230f455d24f4cdb2e0b36..c066fefcbe1a3080e755542feff2b6f7ebb57dc0 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,8
+1,7
@@
2012-07-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14156
- * ldlang.c (wild_sort): Don't call compare_section in case of
- by_none.
+ * ldlang.c (wild_sort): Properly handle by_none.
* scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
* scripttempl/elf32msp430.sc: Likewise.
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index 5327e1286c1f4eb23da3b356cd26b36955d44f05..0f5c91a32867321fcd91c10520b44cdc43b0bbf2 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-3512,8
+3512,6
@@
update_wild_statements (lang_statement_union_type *s)
if (sort_section == by_name)
sec->spec.sorted = by_alignment_name;
break;
- case by_none:
- sec->spec.sorted = none;
default:
break;
}