diff options
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 45752218b5f..8274d36dcd1 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -108,6 +108,8 @@ args_type command_line; ld_config_type config; +sort_type sort_section; + static char *get_emulation (int, char **); static void set_scripts_dir @@ -280,6 +282,8 @@ main (int argc, char **argv) command_line.accept_unknown_input_arch = FALSE; command_line.reduce_memory_overheads = FALSE; + sort_section = none; + /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the output of the linker, unless COLLECT_NO_DEMANGLE is set in the |