PR ld/6430
authorNick Clifton <nickc@redhat.com>
Sat, 31 May 2008 16:35:56 +0000 (16:35 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 31 May 2008 16:35:56 +0000 (16:35 +0000)
commitde7dd2bdee702cd4a187c09427bd42b7eee239ec
tree40d84aa2c577867c71021aeb9f0ddc5bc74c6614
parentc7eb6be45e424188fd6f1035ca747f4295f2588c
        PR ld/6430
            * 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.
ld/ChangeLog
ld/NEWS
ld/ld.h
ld/ld.texinfo
ld/ldlang.c
ld/lexsup.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elfcomm/elfcomm.exp
ld/testsuite/ld-elfcomm/sort-common.s [new file with mode: 0644]