mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
Properly handle by_none
This commit is contained in:
parent
b2e4da5a83
commit
c2821c3e55
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user