This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ELF instruction for section and branch.
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: <gagneet at acmet dot com>
- Cc: <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
- Date: 24 Dec 2003 11:41:20 -0500
- Subject: Re: ELF instruction for section and branch.
- References: <007e01c3ca0c$d8ad24f0$9900a8c0@GAGNEET>
"Gagneet Singh" <gagneet@acmet.com> writes:
> I tried with the MIPS ELF output but was unable to get the desired
> result. Even after compiling with GCC using the GCC port to the desired
> architecture.
>
> The architecture I am using defines a section by the name '.text', but
> if I try to make another section named '.text1' or anything similar it
> issues an error saying "secbr.s:93: Error: Unknown pseudo-op:
> `.text1'".
>
> What can be the reason for this, does it mean that only one section can
> be specified or is it that the section definition should have '.text'
> preceding it. And the section is defined as a name of the function??
If you want help, you must provide a complete test case. We can not
guess what you are doing.
If this is assembler source code, the question should go to a binutils
list, not a gcc list. See http://sourceware.org/binutils/.
Ian