A question about patch submission

Jie Zhang jie@codesourcery.com
Tue Jul 13 04:32:00 GMT 2010


On 07/13/2010 12:20 PM, Mingming Sun wrote:
> On Tue, Jul 13, 2010 at 12:17 PM, Jie Zhang<jie@codesourcery.com>  wrote:
>> On 07/13/2010 11:56 AM, Mingming Sun wrote:
>>> I want to submit a patch about loongson 3A, a new architecture
>>> different from loongson 2E&    2F.
>>> My patch is based on Gcc4.4.0.
>>> If I want to submit my patch, which branch shoud I submit to, gcc4.4.0
>>> branch or I should change the patch to
>>> suite with the main branch.
>>>
>> Yes. You need port your patch to SVN trunk before submit it.
>>
 > Do you mean I must submit it to the main brach?

Please don't top reply. (I have moved your reply down.)

I'm not sure if I understand you. GCC source code is maintained in SVN 
repository, which has a trunk and many branches. The trunk is where the 
main development is going on. gcc4.4.0 is not a branch. It is a release, 
which is created from branch gcc-4_4-branch. When you submit a patch 
like this, you need to create your patch against SVN trunk instead of 
any branch or tag or release tarball.


-- 
Jie Zhang
CodeSourcery



More information about the Gcc mailing list