diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 16:12:34 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 16:12:34 +0000 |
commit | 9bd09181f0ec5b5d20a703a7426b708e8923262c (patch) | |
tree | fd3138311c1bf2472802dba90087c15e45a0693a /gcc/config | |
parent | 4c21a22f250b5f76431c3633433d4a26075a0c28 (diff) | |
download | gcc-9bd09181f0ec5b5d20a703a7426b708e8923262c.tar.gz |
* config/pa/som.h (EXCEPTION_SECTION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/som.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h index 2b421509094..df3cb04a431 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 - |