This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This fixes a problem originally reported to the binutils list
http://sourceware.org/ml/binutils/2005-08/msg00203.html
with the patch posted to the gcc list
http://gcc.gnu.org/ml/gcc/2005-08/msg00443.html
Compiling a function that uses the interrupt_handler attribute with
-mv850e results in a linker error for relocation overflow. The problem
is a .text in the v850 lib1funcs.asm that should be .call_table_text
instead. But by rearranging the code a little, we can eliminate the
need for a section directive here. Also, this fixes some comment
typos. I fixed two more comment typos, but otherwise did not change the
patch.
I tested this with a v850-elf cross compiler build, reproduced the
original problem, and verified that the patch fixes it.
I have added the patch to mainline.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Attachment:
patch.v850e.interrupts
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |