public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/22271] New: No builtin defines to tell SDATA mode.
@ 2005-07-01 17:37 osv at javad dot ru
  2005-07-01 17:40 ` [Bug target/22271] " osv at javad dot ru
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: osv at javad dot ru @ 2005-07-01 17:37 UTC (permalink / raw)
  To: gcc-bugs

There are no builtin defines that tell what sdata mode is active. 

For calling convention only _CALL_SYSV is defined even when EABI is in fact active. 

I'm going to provide a patch that adds more builtin defines.

-- 
           Summary: No builtin defines to tell SDATA mode.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: osv at javad dot ru
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-unknown-eabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22271


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/22271] No builtin defines to tell SDATA mode.
  2005-07-01 17:37 [Bug target/22271] New: No builtin defines to tell SDATA mode osv at javad dot ru
@ 2005-07-01 17:40 ` osv at javad dot ru
  2005-07-01 17:47 ` [Bug target/22271] No builtin preprocessing " pinskia at gcc dot gnu dot org
  2005-08-24  5:46 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: osv at javad dot ru @ 2005-07-01 17:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From osv at javad dot ru  2005-07-01 17:39 -------
Created an attachment (id=9190)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9190&action=view)
Support for more builtin defines.

Adds support for the following builting defines: _CALL_EABI, _SDATA_NONE,
_SDATA_DATA, _SDATA_SYSV, _SDATA_EABI.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22271


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/22271] No builtin preprocessing defines to tell SDATA mode.
  2005-07-01 17:37 [Bug target/22271] New: No builtin defines to tell SDATA mode osv at javad dot ru
  2005-07-01 17:40 ` [Bug target/22271] " osv at javad dot ru
@ 2005-07-01 17:47 ` pinskia at gcc dot gnu dot org
  2005-08-24  5:46 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 17:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-01 17:47 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-01 17:47:42
               date|                            |
            Summary|No builtin defines to tell  |No builtin preprocessing
                   |SDATA mode.                 |defines to tell SDATA mode.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22271


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/22271] No builtin preprocessing defines to tell SDATA mode.
  2005-07-01 17:37 [Bug target/22271] New: No builtin defines to tell SDATA mode osv at javad dot ru
  2005-07-01 17:40 ` [Bug target/22271] " osv at javad dot ru
  2005-07-01 17:47 ` [Bug target/22271] No builtin preprocessing " pinskia at gcc dot gnu dot org
@ 2005-08-24  5:46 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-08-24  5:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2005-08-24 05:38 -------
I think you'll find that the patch provided in comment #1 breaks non-sysv4
builds, with an undefined reference to rs6000_sdata.  You want to enclose that
part in #ifdef USING_ELFOS_H.  I also think the sdata defines should only be
given when ABI_V4.  Please post an updated patch to gcc-patches.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22271


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-24  5:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-01 17:37 [Bug target/22271] New: No builtin defines to tell SDATA mode osv at javad dot ru
2005-07-01 17:40 ` [Bug target/22271] " osv at javad dot ru
2005-07-01 17:47 ` [Bug target/22271] No builtin preprocessing " pinskia at gcc dot gnu dot org
2005-08-24  5:46 ` amodra at bigpond dot net dot au

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).