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]

Re: [trunk][patch] Call assemble_external for external functions.


On Mon, 28 Jul 2008, Rafael Espindola wrote:

> This fixes
> ----------------------------------------------------------------
> extern void f(void) __attribute__ ((visibility ("hidden")));
> int main () {
>   f();
> }
> ----------------------------------------------------------------
> 
> On x86-64. We were not emitting ".hidden f" since my patch to move the
> call to assemble_external. There is some work missing to get it
> working on hppa, but I would like to get this part fixed first.
> 
> Bootstraps and has no regressions. OK for trunk (after the tuples
> merge and another testing pass maybe)?

The fact that this (which was bug 20218) got broken after having been 
fixed shows up that no testcase was added with the original fix.  So this 
re-fix for bug 20218 should definitely add a testcase for this for ELF 
targets.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]