diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-08-01 01:07:38 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-08-01 01:07:38 +0000 |
commit | 05b2da25d4fe7d21000c8a969a58f54dfbf44341 (patch) | |
tree | e76860888d705d63a11f8a0b3c40a88d0d4a7a7c /ld | |
parent | e65eb8b1c6dad97ae8315390356084dac7633e3f (diff) | |
download | binutils-redhat-05b2da25d4fe7d21000c8a969a58f54dfbf44341.tar.gz |
Properly handle by_none
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 3 | ||||
-rw-r--r-- | ld/ldlang.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 91e2b83a42..c066fefcbe 100644 --- 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 5327e1286c..0f5c91a328 100644 --- 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; } |