This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] [PATCH][AVR] Add linker relaxation support. Fix 64-Bitbootstrap failure
- From: Nick Clifton <nickc at redhat dot com>
- To: Björn Haase <bjoern dot m dot haase at web dot de>
- Cc: binutils at sourceware dot org, Denis Chertykov <denisc at overta dot ru>, marekm at amelek dot gda dot pl, Joerg Wunsch <j at uriah dot heep dot sax dot de>
- Date: Wed, 12 Oct 2005 12:13:34 +0100
- Subject: Re: [RFC] [PATCH][AVR] Add linker relaxation support. Fix 64-Bitbootstrap failure
- References: <200510032215.32284.bjoern.m.haase@web.de>
Hi Björn,
It would be helpful if someone could have a look at
elf_avr_relax_delete_bytes.
I took this function from H8300 and it works, but I have no clue what it does
and why it is necessary.
It removes a sequence of bytes from inside a particular section. It is
needed because when a section is shrunk like this, it is not just a
simple case of calling memmove() to shift the bytes about in memory. It
is also necessary to adjust any reloc which is pointing into the section
into the area where the bytes are being moved. Otherwise the relocs
will be left with invalid offsets.
Legal issues:
I presently have a copyright assignment only for gcc. Could someone of the
maintainers please ask the FSF to prepare papers for the other two important
projects, both, binutils and gdb?
Actually this is up to you. You need to send a filled out form
requesting a copyright assignment for these particular projects. I am
attaching the form so that you can fill it out. Once that is done and
the (binutils) assignment is in place, I will be happy to accept the patch.
Cheers
Nick
---------------------------------------------------------------------------
request-assign.future:
Please email the following information to fsf-records@gnu.org, and we
will send you the assignment form for your past and future changes.
Please use your full name as the subject line of the message.
[What is the name of the program or package you're contributing to?]
[Did you copy any files or text written by someone else in these changes?
Even if that material is free software, we need to know about it.]
[Do you have an employer who might have a basis to claim to own
your changes? Do you attend a school which might make such a claim?]
[For the copyright registration, what country are you a citizen of?]
[What year were you born?]
[Please write your email address here.]
[Please write your snail address here.]
[Which files have you changed so far, and which new files have you written
so far?]
---------------------------------------------------------------------------