* ldwrite.c (clone_section): Call bfd_copy_private_section_data on

newly cloned section.
        * ld-x86-64/split-by-file.rd: New test.
        * ld-x86-64/split-by-file1.s: New test source code.
        * ld-x86-64/split-by-file2.s: New test source code.
        * ld-x86-64/x86-64.exp: Run the new test.
        * readelf.c (process_section_headers): Mention meaning of 'l'
        section flag for x86-64 targets.
This commit is contained in:
Nick Clifton
2010-09-07 15:02:17 +00:00
parent fc95672973
commit 3dbcc61de6
7 changed files with 52 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-09-07 Nick Clifton <nickc@redhat.com>
* readelf.c (process_section_headers): Mention meaning of 'l'
section flag for x86-64 targets.
2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Jakub Jelinek <jakub@redhat.com>

View File

@ -4861,10 +4861,19 @@ process_section_headers (FILE * file)
}
if (!do_section_details)
printf (_("Key to Flags:\n\
{
if (elf_header.e_machine == EM_X86_64
|| elf_header.e_machine == EM_L1OM)
printf (_("Key to Flags:\n\
W (write), A (alloc), X (execute), M (merge), S (strings), l (large)\n\
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)\n\
O (extra OS processing required) o (OS specific), p (processor specific)\n"));
else
printf (_("Key to Flags:\n\
W (write), A (alloc), X (execute), M (merge), S (strings)\n\
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)\n\
O (extra OS processing required) o (OS specific), p (processor specific)\n"));
}
return 1;
}