diff options
author | Tom Wood <wood@gnu.org> | 1992-10-08 10:42:19 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-10-08 10:42:19 +0000 |
commit | 1396372010ab2c16ab5cae1f277ab97dc5239fe0 (patch) | |
tree | f9b57a6d2daa2f996db34e39b77dead9e09e9ca6 /gcc | |
parent | ca46db8715e198dc860f6ff6e62131ed78b5a020 (diff) | |
download | gcc-1396372010ab2c16ab5cae1f277ab97dc5239fe0.zip gcc-1396372010ab2c16ab5cae1f277ab97dc5239fe0.tar.gz gcc-1396372010ab2c16ab5cae1f277ab97dc5239fe0.tar.bz2 |
(dwarfout_init...
(dwarfout_init, dwarfout_finish): Don't output labels
or .debug_aranges entries for .data1 and .rodata1 as these
sections aren't currently used.
From-SVN: r2369
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/dwarfout.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index a743d51..b83cd7f 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -5233,12 +5233,14 @@ dwarfout_init (asm_out_file, main_input_filename) ASM_OUTPUT_LABEL (asm_out_file, DATA_BEGIN_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#if 0 /* GNU C doesn't currently use .data1. */ /* Output a starting label for the .data1 section. */ fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, DATA1_SECTION); ASM_OUTPUT_LABEL (asm_out_file, DATA1_BEGIN_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#endif /* Output a starting label for the .rodata section. */ @@ -5247,12 +5249,14 @@ dwarfout_init (asm_out_file, main_input_filename) ASM_OUTPUT_LABEL (asm_out_file, RODATA_BEGIN_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#if 0 /* GNU C doesn't currently use .rodata1. */ /* Output a starting label for the .rodata1 section. */ fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, RODATA1_SECTION); ASM_OUTPUT_LABEL (asm_out_file, RODATA1_BEGIN_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#endif /* Output a starting label for the .bss section. */ @@ -5410,12 +5414,14 @@ dwarfout_finish () ASM_OUTPUT_LABEL (asm_out_file, DATA_END_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#if 0 /* GNU C doesn't currently use .data1. */ /* Output a terminator label for the .data1 section. */ fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, DATA1_SECTION); ASM_OUTPUT_LABEL (asm_out_file, DATA1_END_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#endif /* Output a terminator label for the .rodata section. */ @@ -5424,12 +5430,14 @@ dwarfout_finish () ASM_OUTPUT_LABEL (asm_out_file, RODATA_END_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#if 0 /* GNU C doesn't currently use .rodata1. */ /* Output a terminator label for the .rodata1 section. */ fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, RODATA1_SECTION); ASM_OUTPUT_LABEL (asm_out_file, RODATA1_END_LABEL); ASM_OUTPUT_POP_SECTION (asm_out_file); +#endif /* Output a terminator label for the .bss section. */ @@ -5504,17 +5512,21 @@ dwarfout_finish () ASM_OUTPUT_DWARF_ADDR (asm_out_file, DATA_BEGIN_LABEL); ASM_OUTPUT_DWARF_DELTA4 (asm_out_file, DATA_END_LABEL, DATA_BEGIN_LABEL); +#if 0 /* GNU C doesn't currently use .data1. */ ASM_OUTPUT_DWARF_ADDR (asm_out_file, DATA1_BEGIN_LABEL); ASM_OUTPUT_DWARF_DELTA4 (asm_out_file, DATA1_END_LABEL, DATA1_BEGIN_LABEL); +#endif ASM_OUTPUT_DWARF_ADDR (asm_out_file, RODATA_BEGIN_LABEL); ASM_OUTPUT_DWARF_DELTA4 (asm_out_file, RODATA_END_LABEL, RODATA_BEGIN_LABEL); +#if 0 /* GNU C doesn't currently use .rodata1. */ ASM_OUTPUT_DWARF_ADDR (asm_out_file, RODATA1_BEGIN_LABEL); ASM_OUTPUT_DWARF_DELTA4 (asm_out_file, RODATA1_END_LABEL, RODATA1_BEGIN_LABEL); +#endif ASM_OUTPUT_DWARF_ADDR (asm_out_file, BSS_BEGIN_LABEL); ASM_OUTPUT_DWARF_DELTA4 (asm_out_file, BSS_END_LABEL, BSS_BEGIN_LABEL); |