aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-05-18 16:12:34 +0000
committerJeff Law <law@gcc.gnu.org>2001-05-18 10:12:34 -0600
commitc19814b6070c1a4f7daf4192851c516239da82c9 (patch)
treefd3138311c1bf2472802dba90087c15e45a0693a /gcc
parent63e46568736db84f3c943c44cb6574c261f8220b (diff)
downloadgcc-c19814b6070c1a4f7daf4192851c516239da82c9.zip
gcc-c19814b6070c1a4f7daf4192851c516239da82c9.tar.gz
gcc-c19814b6070c1a4f7daf4192851c516239da82c9.tar.bz2
* config/pa/som.h (EXCEPTION_SECTION): Define.
From-SVN: r42268
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/som.h8
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4cf5da2..54bea55 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
+
+ * config/pa/som.h (EXCEPTION_SECTION): Define.
+
2001-05-18 Daniel Berlin <dan@cgsoftware.com>
* dwarf2out.c: Add dw_loc_list_ref, a reference to a location
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index 2b42150..df3cb04 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -251,6 +251,13 @@ do { \
#define BSS_SECTION_ASM_OP "\t.SPACE $PRIVATE$\n\t.SUBSPA $BSS$\n"
+/* We must not have a reference to an external symbol defined in a
+ shared library in a readonly section, else the SOM linker will
+ complain.
+
+ So, we force exception information into the data section. */
+#define EXCEPTION_SECTION data_section
+
/* Define the .bss section for ASM_OUTPUT_LOCAL to use. */
#ifndef CTORS_SECTION_FUNCTION
@@ -353,4 +360,3 @@ do { \
/* SOM does not support the init_priority C++ attribute. */
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 0
-