public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/12502] New: Add support for AS argument "-force-long-branchs" for x86 arch
@ 2003-10-03 18:36 mkgnu at gmx dot net
  2003-10-03 18:39 ` [Bug target/12502] " mkgnu at gmx dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mkgnu at gmx dot net @ 2003-10-03 18:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Add support for AS argument "-force-long-branchs" for
                    x86 arch
           Product: gcc
           Version: 2.95.4
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mkgnu at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org

Hello,

I am requesting the enhancement at some future gcc releace of adding support for
the -force-long-branchs argument in the AS assembler for the x86 architecture.
This feature as of gcc version 2.95.4 is only available for the 68HC11 and
68HC12 processors, according to the AS manpage.

Using that argument with gcc 2.95.4 to produce x86 machine code will result in
producing assembler code that does not compile


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

* [Bug target/12502] Add support for AS argument "-force-long-branchs" for x86 arch
  2003-10-03 18:36 [Bug target/12502] New: Add support for AS argument "-force-long-branchs" for x86 arch mkgnu at gmx dot net
@ 2003-10-03 18:39 ` mkgnu at gmx dot net
  2003-10-03 18:45 ` mkgnu at gmx dot net
  2003-10-03 18:49 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mkgnu at gmx dot net @ 2003-10-03 18:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From mkgnu at gmx dot net  2003-10-03 18:39 -------
Created an attachment (id=4886)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4886&action=view)
Compiling this .c file with:   "gcc -Wall -Wa,-force-long-branchs -O2 test10.c"
will fail when the target is x86

Attached is an example .c file that fails to compile using  "gcc -Wall
-Wa,-force-long-branchs -O2 test10.c" when the target is not x86.


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

* [Bug target/12502] Add support for AS argument "-force-long-branchs" for x86 arch
  2003-10-03 18:36 [Bug target/12502] New: Add support for AS argument "-force-long-branchs" for x86 arch mkgnu at gmx dot net
  2003-10-03 18:39 ` [Bug target/12502] " mkgnu at gmx dot net
@ 2003-10-03 18:45 ` mkgnu at gmx dot net
  2003-10-03 18:49 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mkgnu at gmx dot net @ 2003-10-03 18:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From mkgnu at gmx dot net  2003-10-03 18:45 -------
I also hawe to ask if there are thoughts for introducing a flag with which it
will be possible to generate code that uses relative addressing for
intra-function calls (e.g. loops) but absolute addressing for out-of-function
branches (e.g. function calls).

The intent is to be able to move during runtime the image of a function to a
different memory location without any processing needed on the function image.
Currently this can only be achieved if out-ofsfunction relative references are
manually adjusted


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

* [Bug target/12502] Add support for AS argument "-force-long-branchs" for x86 arch
  2003-10-03 18:36 [Bug target/12502] New: Add support for AS argument "-force-long-branchs" for x86 arch mkgnu at gmx dot net
  2003-10-03 18:39 ` [Bug target/12502] " mkgnu at gmx dot net
  2003-10-03 18:45 ` mkgnu at gmx dot net
@ 2003-10-03 18:49 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-03 18:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-03 18:48 -------
We do not control binutils which contains as, report it to the binutils guys. Also the code which 
GCC produces is only asm so the as should do the relocations, not GCC.


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

end of thread, other threads:[~2003-10-03 18:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 18:36 [Bug target/12502] New: Add support for AS argument "-force-long-branchs" for x86 arch mkgnu at gmx dot net
2003-10-03 18:39 ` [Bug target/12502] " mkgnu at gmx dot net
2003-10-03 18:45 ` mkgnu at gmx dot net
2003-10-03 18:49 ` pinskia 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).