mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 12:21:09 +08:00
* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
From-SVN: r71617
This commit is contained in:
parent
5f0ccd0b63
commit
86b0a4f337
@ -1,3 +1,7 @@
|
||||
2003-09-20 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
|
||||
|
||||
2003-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||
|
||||
* Makefile.in: Don't set (unused) DLLTOOL.
|
||||
|
@ -1242,7 +1242,7 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x,
|
||||
&& (GET_CODE (x) == CONST_INT
|
||||
|| GET_CODE (x) == CONST_DOUBLE))
|
||||
literal4_section ();
|
||||
else if (! MACHO_DYNAMIC_NO_PIC_P
|
||||
else if (MACHOPIC_INDIRECT
|
||||
&& (GET_CODE (x) == SYMBOL_REF
|
||||
|| GET_CODE (x) == CONST
|
||||
|| GET_CODE (x) == LABEL_REF))
|
||||
|
Loading…
x
Reference in New Issue
Block a user