diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-26 12:34:25 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-26 12:34:25 +0000 |
commit | d5720b0c143a166029a97908c8f4dc0b1a105b1f (patch) | |
tree | fef622cddd6570a0141f3c50a52c5ea8bcf74814 /gcc/varasm.c | |
parent | 94269a900191de2d6e64670fe9e56ead256812e8 (diff) | |
download | gcc-d5720b0c143a166029a97908c8f4dc0b1a105b1f.tar.gz |
* varasm.c (default_exception_section): Move to...
* except.c (default_exception_section): ... here. Make
.gcc_except_table read-only if it is not expected to have any
dynamic relocations and linker handles it.
* dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
if it is not expected to have any dynamic relocations and linker
handles it.
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
when linking read-only and read-write sections together.
* configure, config.in: Rebuilt.
* crtstuff.c (EH_FRAME_SECTION_CONST): Define.
(__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index b158b92a9b9..a3d283a8b56 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -582,20 +582,6 @@ variable_section (decl, reloc) (*targetm.asm_out.select_section) (decl, reloc, DECL_ALIGN (decl)); } -/* Tell assembler to switch to the section for the exception handling - table. */ - -void -default_exception_section () -{ - if (targetm.have_named_sections) - named_section (NULL_TREE, ".gcc_except_table", 0); - else if (flag_pic) - data_section (); - else - readonly_data_section (); -} - /* Tell assembler to switch to the section for string merging. */ void |