public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* relocations
@ 2002-10-23  6:07 Stuart Clarke
  2002-10-23  6:41 ` relocations Stuart Clarke
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stuart Clarke @ 2002-10-23  6:07 UTC (permalink / raw)
  To: GCC; +Cc: Corey Schuhen

Hi all,

I am attempting to compile a simple program on my i386 machine for an ARM 
target.  In doing this, GCC produces a relocation section in its output file 
(.rel.text).  This relocation section is of the no-addenda variety, however, 
and is incompatible with the system on which I am attempting to run my 
program.  Said system requires a .rela.text section for its relocations (i.e. 
one with addenda values).

GCC doesn't seem to have a run-time option for producing a rela.text section 
rather than a rel.text one.  Is there any means by which the GCC source could 
be patched/adjusted to accomplish this?

Thanks,

Stuart

#####################################################################################
Note:
This message is for the named person's use only.  It may contain confidential,
proprietary or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. BEELINE Technologies and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
postmaster@BEELINE.ag
#####################################################################################

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

* Re: relocations
  2002-10-23  6:07 relocations Stuart Clarke
@ 2002-10-23  6:41 ` Stuart Clarke
  2002-10-23 14:18 ` relocations Richard Henderson
  2002-10-23 23:52 ` relocations Mike Stump
  2 siblings, 0 replies; 4+ messages in thread
From: Stuart Clarke @ 2002-10-23  6:41 UTC (permalink / raw)
  To: GCC

I am using the following version of GCC:

gcc version 2.95.2 20000313 (Debian GNU/Linux)

I apologise for not including this information in my first post.

Thanks again,

Stuart

On Saturday 26 October 2002 21:57, Stuart Clarke wrote:
> Hi all,
>
> I am attempting to compile a simple program on my i386 machine for an ARM
> target.  In doing this, GCC produces a relocation section in its output
> file (.rel.text).  This relocation section is of the no-addenda variety,
> however, and is incompatible with the system on which I am attempting to
> run my program.  Said system requires a .rela.text section for its
> relocations (i.e. one with addenda values).
>
> GCC doesn't seem to have a run-time option for producing a rela.text
> section rather than a rel.text one.  Is there any means by which the GCC
> source could be patched/adjusted to accomplish this?
>
> Thanks,
>
> Stuart
>
> ###########################################################################
>########## Note:
> This message is for the named person's use only.  It may contain
> confidential, proprietary or legally privileged information.  No
> confidentiality or privilege is waived or lost by any mistransmission.  If
> you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender.  You must not, directly or indirectly, use, disclose, distribute,
> print, or copy any part of this message if you are not the intended
> recipient. BEELINE Technologies and any of its subsidiaries each reserve
> the right to monitor all e-mail communications through its networks.
>
> Any views expressed in this message are those of the individual sender,
> except where the message states otherwise and the sender is authorized to
> state them to be the views of any such entity.
>
> Thank You.
> postmaster@BEELINE.ag
> ###########################################################################
>##########


#####################################################################################
Note:
This message is for the named person's use only.  It may contain confidential,
proprietary or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. BEELINE Technologies and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
postmaster@BEELINE.ag
#####################################################################################

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

* Re: relocations
  2002-10-23  6:07 relocations Stuart Clarke
  2002-10-23  6:41 ` relocations Stuart Clarke
@ 2002-10-23 14:18 ` Richard Henderson
  2002-10-23 23:52 ` relocations Mike Stump
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2002-10-23 14:18 UTC (permalink / raw)
  To: Stuart Clarke; +Cc: GCC, Corey Schuhen

On Sat, Oct 26, 2002 at 09:57:11PM +1000, Stuart Clarke wrote:
> GCC doesn't seem to have a run-time option for producing a rela.text section 
> rather than a rel.text one.  Is there any means by which the GCC source could 
> be patched/adjusted to accomplish this?

No.  You need to look at the assembler, not the compiler.


r~

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

* Re: relocations
  2002-10-23  6:07 relocations Stuart Clarke
  2002-10-23  6:41 ` relocations Stuart Clarke
  2002-10-23 14:18 ` relocations Richard Henderson
@ 2002-10-23 23:52 ` Mike Stump
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Stump @ 2002-10-23 23:52 UTC (permalink / raw)
  To: Stuart Clarke; +Cc: GCC, Corey Schuhen

On Saturday, October 26, 2002, at 04:57 AM, Stuart Clarke wrote:
> GCC doesn't seem to have a run-time option for producing a rela.text 
> section
> rather than a rel.text one.  Is there any means by which the GCC 
> source could
> be patched/adjusted to accomplish this?

Wrong list.  I think most of these issues have little to do with the 
compiler.  I think you want to check out the binutils list.  Yes, in 
binutils, it is easily reconfigured.  See the binutils source code, a 
proper port to your system would include these changes.

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

end of thread, other threads:[~2002-10-23 23:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23  6:07 relocations Stuart Clarke
2002-10-23  6:41 ` relocations Stuart Clarke
2002-10-23 14:18 ` relocations Richard Henderson
2002-10-23 23:52 ` relocations Mike Stump

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