Subject: pic bugfix for ns32k
To: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From: None <ra!leo@marco.de>
List: port-pc532
Date: 09/26/1994 11:32:18
Hi Richard,
there is a small problem on the ns32k when generating PIC. I noticed this
when building libXt.so from X11R5.
Matthias
Sun Sep 25 18:05:09 MET 1994 Matthias Pfaller (leo@marco.de)
* ns32k.h (ENCODE_SECTION_INFO): Only calls may go through the
PLT. All address loads, even function address loads, have to
go through the GOT or function addresses will not be unique.
*** ns32k.h.bak Sat Aug 6 13:11:39 1994
--- ns32k.h Thu Sep 22 22:49:40 1994
***************
*** 1062,1068 ****
? TREE_CST_RTL (DECL) : DECL_RTL (DECL)); \
SYMBOL_REF_FLAG (XEXP (rtl, 0)) \
= (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd' \
- || TREE_CODE (DECL) == FUNCTION_DECL \
|| ! TREE_PUBLIC (DECL)); \
} \
} \
--- 1062,1067 ----