mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-17 21:08:23 +00:00
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
* syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
|
||||||
|
|
||||||
|
* syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping.
|
||||||
|
|
||||||
2002-02-19 Jakub Jelinek <jakub@redhat.com>
|
2002-02-19 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
|
||||||
|
|||||||
20
bfd/syms.c
20
bfd/syms.c
@@ -545,23 +545,25 @@ struct section_to_type
|
|||||||
adding entries. Since it is so short, a linear search is used. */
|
adding entries. Since it is so short, a linear search is used. */
|
||||||
static const struct section_to_type stt[] =
|
static const struct section_to_type stt[] =
|
||||||
{
|
{
|
||||||
{"*DEBUG*", 'N'},
|
|
||||||
{".bss", 'b'},
|
{".bss", 'b'},
|
||||||
{"zerovars", 'b'}, /* MRI .bss */
|
{"code", 't'}, /* MRI .text */
|
||||||
{".data", 'd'},
|
{".data", 'd'},
|
||||||
{"vars", 'd'}, /* MRI .data */
|
{"*DEBUG*", 'N'},
|
||||||
|
{".debug", 'N'}, /* MSVC's .debug (non-standard debug syms) */
|
||||||
|
{".drectve", 'i'}, /* MSVC's .drective section */
|
||||||
|
{".edata", 'e'}, /* MSVC's .edata (export) section */
|
||||||
|
{".fini", 't'}, /* ELF fini section */
|
||||||
|
{".idata", 'i'}, /* MSVC's .idata (import) section */
|
||||||
|
{".init", 't'}, /* ELF init section */
|
||||||
|
{".pdata", 'p'}, /* MSVC's .pdata (stack unwind) section */
|
||||||
{".rdata", 'r'}, /* Read only data. */
|
{".rdata", 'r'}, /* Read only data. */
|
||||||
{".rodata", 'r'}, /* Read only data. */
|
{".rodata", 'r'}, /* Read only data. */
|
||||||
{".sbss", 's'}, /* Small BSS (uninitialized data). */
|
{".sbss", 's'}, /* Small BSS (uninitialized data). */
|
||||||
{".scommon", 'c'}, /* Small common. */
|
{".scommon", 'c'}, /* Small common. */
|
||||||
{".sdata", 'g'}, /* Small initialized data. */
|
{".sdata", 'g'}, /* Small initialized data. */
|
||||||
{".text", 't'},
|
{".text", 't'},
|
||||||
{"code", 't'}, /* MRI .text */
|
{"vars", 'd'}, /* MRI .data */
|
||||||
{".drectve", 'i'}, /* MSVC's .drective section */
|
{"zerovars", 'b'}, /* MRI .bss */
|
||||||
{".idata", 'i'}, /* MSVC's .idata (import) section */
|
|
||||||
{".edata", 'e'}, /* MSVC's .edata (export) section */
|
|
||||||
{".pdata", 'p'}, /* MSVC's .pdata (stack unwind) section */
|
|
||||||
{".debug", 'N'}, /* MSVC's .debug (non-standard debug syms) */
|
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user