public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to
@ 2005-05-09 16:29 pkoning at equallogic dot com
2005-05-09 16:31 ` [Bug target/21472] " pkoning at equallogic dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pkoning at equallogic dot com @ 2005-05-09 16:29 UTC (permalink / raw)
To: gcc-bugs
Compiling lib/csu/common_elf/crtbegin.c in the NetBSD 1.6.2 source tree with gcc
4.0.0 and binutils 2.16, I get complaints from ld:
crtbeginS.o: CALL16 reloc at 0xfc not against global symbol
The call16 is in the .s file generated by gcc, but I can't tell why it's any
different from the others. Will attach .i and .s files (it would be nice if you
could do that when entering a bug...)
--
Summary: Gcc generates CALL16 reloc that ld objects to
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pkoning at equallogic dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-netbsdelf
GCC host triplet: i386-netbsdelf
GCC target triplet: mipsel-netbsdelf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21472
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/21472] Gcc generates CALL16 reloc that ld objects to
2005-05-09 16:29 [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to pkoning at equallogic dot com
@ 2005-05-09 16:31 ` pkoning at equallogic dot com
2005-05-09 16:31 ` pkoning at equallogic dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pkoning at equallogic dot com @ 2005-05-09 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pkoning at equallogic dot com 2005-05-09 16:31 -------
Created an attachment (id=8846)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8846&action=view)
Assembly file generated by gcc 4.0.0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21472
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/21472] Gcc generates CALL16 reloc that ld objects to
2005-05-09 16:29 [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to pkoning at equallogic dot com
2005-05-09 16:31 ` [Bug target/21472] " pkoning at equallogic dot com
@ 2005-05-09 16:31 ` pkoning at equallogic dot com
2005-05-09 17:15 ` pinskia at gcc dot gnu dot org
2005-05-16 13:11 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pkoning at equallogic dot com @ 2005-05-09 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pkoning at equallogic dot com 2005-05-09 16:30 -------
Created an attachment (id=8845)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8845&action=view)
Preprocessed source file of the code that shows the problem
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21472
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/21472] Gcc generates CALL16 reloc that ld objects to
2005-05-09 16:29 [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to pkoning at equallogic dot com
2005-05-09 16:31 ` [Bug target/21472] " pkoning at equallogic dot com
2005-05-09 16:31 ` pkoning at equallogic dot com
@ 2005-05-09 17:15 ` pinskia at gcc dot gnu dot org
2005-05-16 13:11 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09 17:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-09 17:15 -------
lw $25,%call16(fini_fallthru)($28)
I want to say the above is the problem and it is a local symbol but to GCC it is a global one.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21472
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/21472] Gcc generates CALL16 reloc that ld objects to
2005-05-09 16:29 [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to pkoning at equallogic dot com
` (2 preceding siblings ...)
2005-05-09 17:15 ` pinskia at gcc dot gnu dot org
@ 2005-05-16 13:11 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-05-16 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-05-16 13:11 -------
Andrew's right. You're telling gcc that init_fallthru() and fini_fallthru()
are global functions, but your asms define it to be a local function.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rsandifo at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21472
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-05-16 13:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 16:29 [Bug target/21472] New: Gcc generates CALL16 reloc that ld objects to pkoning at equallogic dot com
2005-05-09 16:31 ` [Bug target/21472] " pkoning at equallogic dot com
2005-05-09 16:31 ` pkoning at equallogic dot com
2005-05-09 17:15 ` pinskia at gcc dot gnu dot org
2005-05-16 13:11 ` rsandifo at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).