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 | |
| parent | 4c21a22f250b5f76431c3633433d4a26075a0c28 (diff) | |
| download | ppe42-gcc-9bd09181f0ec5b5d20a703a7426b708e8923262c.tar.gz ppe42-gcc-9bd09181f0ec5b5d20a703a7426b708e8923262c.zip | |
* config/pa/som.h (EXCEPTION_SECTION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42268 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/pa/som.h | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4cf5da22e53..54bea558644 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 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 - |

