* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
TARGET_RELOCATABLE like flag_pic for now.
From-SVN: r42113
+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.
/* 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