[PATCH] sh-linux: Backport 3.4 shared libgcc stuff to 3.3

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Dec 2 05:28:00 GMT 2003


kaz Kojima <kkojima@rr.iij4u.or.jp> writes:

| Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| > kaz Kojima <kkojima@rr.iij4u.or.jp> writes:
| > 
| > | Hi,
| > | 
| > | In SH-3/4, some functions in libgcc.a should not be called via PLT
| > | but in gcc-3.3 they are exported without any visibility attributes.
| > | This is cleary a bug which is known from 2.9x era, though I don't
| > | have a handy testcase because it appears only in fairly complex
| > | programs using shared libraries.
| > | An easy solution is to make libgcc.a functions .hidden like as almost
| > | other linux targets do in 3.3, as the result of creating shared
| > | libgcc.  sh-linux does it in 3.4, so it would be not so invasive to
| > | backport 3.4 shared libgcc stuff to 3.3 branch as a bug fix.
| > | The attatched patch is tested with bootstrap and regtested with no
| > | new failures.
| > | Is it OK for 3.3.3, though it's not a pure regression fix?
| > 
| > Yes.  Make sure, I get something about it in the release note.
| 
| Thanks!  I've checked it in with a slightly modified ChangeLog
| entry according to other entries for backport:

How should this be described this in the release note?  Sorry for
asking, but I would appreciate some "high level" view of all this back
end stuff :-) 

-- Gaby



More information about the Gcc-patches mailing list