diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-05-15 19:50:49 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-05-15 19:50:49 +0000 |
commit | 50c30603faa3e8c77727c64af61b6441926a5633 (patch) | |
tree | 34e28526714597d028d66844aecd2abb515b75e7 | |
parent | a51ccef3e81bcaf523a9568ca3b8a444828491f4 (diff) | |
download | gcc-50c30603faa3e8c77727c64af61b6441926a5633.zip gcc-50c30603faa3e8c77727c64af61b6441926a5633.tar.gz gcc-50c30603faa3e8c77727c64af61b6441926a5633.tar.bz2 |
sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for now.
* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
TARGET_RELOCATABLE like flag_pic for now.
From-SVN: r42113
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c57965..0189949 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-15 Geoffrey Keating <geoffk@redhat.com> + + * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat + TARGET_RELOCATABLE like flag_pic for now. + 2001-05-15 David Edelsohn <edelsohn@gnu.org> * rs6000.md (movdi splitter): Sign extend more efficiently. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 64d4131..c9a7864 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1599,9 +1599,9 @@ do { \ /* Select a format to encode pointers in exception handling data. CODE is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is true if the symbol may be affected by dynamic relocations. */ -#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \ - (flag_pic \ +#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \ + ((flag_pic || TARGET_RELOCATABLE) \ ? (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) \ : DW_EH_PE_absptr) - + #define EXCEPTION_SECTION readonly_data_section |