public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47811] New: ARM asm branch to direct address
@ 2011-02-18 19:35 aleksazr at gmail dot com
  2011-02-18 20:33 ` [Bug target/47811] " pinskia at gcc dot gnu.org
  2011-02-18 20:36 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: aleksazr at gmail dot com @ 2011-02-18 19:35 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ARM asm branch to direct address
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: aleksazr@gmail.com


Created attachment 23399
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23399
source

source assembled:
reset:    b 0x300000
    b 0x300000

generates:
   0:   ea0bfffe    b   300000 <_ebss+0x2ffff0>
   4:   ea0bfffc    b   2ffffc <_ebss+0x2fffec>

                        ^^^^^^ both should jump to same address


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

* [Bug target/47811] ARM asm branch to direct address
  2011-02-18 19:35 [Bug target/47811] New: ARM asm branch to direct address aleksazr at gmail dot com
@ 2011-02-18 20:33 ` pinskia at gcc dot gnu.org
  2011-02-18 20:36 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-02-18 20:33 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-18 20:28:36 UTC ---
This is not the correct place to file assembly issues, please file them with
the binutils project.  GCC is not involved in this case as you are passing the
.s file directly to the assembler.  Also I think this is correct really due to
where you place the .text section.


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

* [Bug target/47811] ARM asm branch to direct address
  2011-02-18 19:35 [Bug target/47811] New: ARM asm branch to direct address aleksazr at gmail dot com
  2011-02-18 20:33 ` [Bug target/47811] " pinskia at gcc dot gnu.org
@ 2011-02-18 20:36 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-02-18 20:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-18 20:29:02 UTC ---
Also I think b takes a relative address.


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

end of thread, other threads:[~2011-02-18 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 19:35 [Bug target/47811] New: ARM asm branch to direct address aleksazr at gmail dot com
2011-02-18 20:33 ` [Bug target/47811] " pinskia at gcc dot gnu.org
2011-02-18 20:36 ` pinskia at gcc dot gnu.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).