Browse Source
* testsuite/ld-elfcomm/elfcomm.exp (test_sort_common): Test the
ascending/descending argument to the --sort-common command line
option.
* testsuite/ld-elfcomm/sort-common.s: New file.
* ld.h (enum sort_order): New.
* ldlang.c (lang_check: Fix comment.
(lang_common): Sort commons in ascending or descending order.
(lang_one_common): Likewise.
* lexsup.c (ld_options): Have --sort-common take an option
argument.
(parse_args): Handle argument to --sort-common.
* ld.texinfo (--sort-common): Document new optional argument.
* NEWS: Mention new feature.
msnyder-reverse-20080609-branch
9 changed files with 153 additions and 17 deletions
@ -0,0 +1,6 @@ |
|||
.comm var_1byte_align,1,1 |
|||
.comm var_2byte_align,2,2 |
|||
.comm var_4byte_align,4,4 |
|||
.comm var_8byte_align,8,8 |
|||
.comm var_16byte_align,16,16 |
|||
|
|||
Loading…
Reference in new issue