This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11901] [3.3 only] set_fpscr isn't PIC even when __PIC__ defined; bad for prelinking, causes glibc-3.2.3 check-textrel test to fail
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2003 03:36:49 -0000
- Subject: [Bug target/11901] [3.3 only] set_fpscr isn't PIC even when __PIC__ defined; bad for prelinking, causes glibc-3.2.3 check-textrel test to fail
- References: <20030813032645.11901.dank@kegel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11901
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |kkojima at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2003-08-13 03:36:49
date| |
Summary|set_fpscr isn't PIC even |[3.3 only] set_fpscr isn't
|when __PIC__ defined; bad |PIC even when __PIC__
|for prelinking, causes |defined; bad for prelinking,
|glibc-3.2.3 check-textrel |causes glibc-3.2.3 check-
|test to fail |textrel test to fail
Target Milestone|3.4 |3.3.2
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-13 03:36 -------
Since this is fixed on the mainline by kkojima at gcc dot gnu dot org assigning to him.
I would just ask for inclusion of the patch:
2003-08-11 Kaz Kojima
* config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
information in SHmedia case too.
(__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
Likewise.
(__set_fpscr): Use an access via GOT for PIC case.