ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
Mark Mitchell
mark@codesourcery.com
Mon Jun 25 16:36:00 GMT 2007
More information about the Binutils mailing list
Mon Jun 25 16:36:00 GMT 2007
- Previous message (by thread): ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- Next message (by thread): ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jakub Jelinek wrote: > For replacability the current definition is just fine. Weak functions > must be assumed to be always replaceable and non-weak functions which are > known to bind within the same executable resp. shared library are not > replaceable - linker will issue error if two non-weak symbols with the > same name are linked into the same executable resp. shared library and > when linking a non-weak symbol and weak symbol the non-weak one will > win. Good point -- if there's no definition in the current translation unit, then I guess we aren't going to make any bad assumptions about the contents of the function. So, I guess that just means that the Power back end needs to check for !DECL_EXTERNAL in addition to binds_local_p? -- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
- Previous message (by thread): ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- Next message (by thread): ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list