public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility
@ 2011-08-15 14:00 rsandifo at gcc dot gnu.org
  2011-08-15 14:14 ` [Bug target/50090] " rsandifo at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-08-15 14:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

             Bug #: 50090
           Summary: ARM EABI symbols in libgcc.a have default visibility
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rsandifo@gcc.gnu.org


EABI functions like __aeabi_f2ulz are defined as aliases
of standard libgcc functions like __fixunssfdi.  In libgcc.a,
the standard function gets the correct hidden visibility,
but the alias retains default visibility.  This means that
DSOs linked against libgcc.a may end up exporting the
libgcc.a definition of __aeabi_f2ulz.

The bug is that bpabi-lib.h uses an asm statement to define
an alias, so the standard ways of forcing hidden visibility
at the C level have no effect.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/50090] ARM EABI symbols in libgcc.a have default visibility
  2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
@ 2011-08-15 14:14 ` rsandifo at gcc dot gnu.org
  2011-08-17 11:25 ` rsandifo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-08-15 14:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-08-15
         AssignedTo|unassigned at gcc dot       |rsandifo at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-08-15 13:59:11 UTC ---
Testing a fix.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/50090] ARM EABI symbols in libgcc.a have default visibility
  2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
  2011-08-15 14:14 ` [Bug target/50090] " rsandifo at gcc dot gnu.org
@ 2011-08-17 11:25 ` rsandifo at gcc dot gnu.org
  2011-08-24 17:42 ` rsandifo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-08-17 11:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-08-17 11:13:25 UTC ---
Author: rsandifo
Date: Wed Aug 17 11:13:20 2011
New Revision: 177826

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177826
Log:
libgcc/
    PR target/50090
    * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
    instead of an assembly one.

Modified:
    trunk/libgcc/ChangeLog
    trunk/libgcc/config/arm/bpabi-lib.h


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/50090] ARM EABI symbols in libgcc.a have default visibility
  2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
  2011-08-15 14:14 ` [Bug target/50090] " rsandifo at gcc dot gnu.org
  2011-08-17 11:25 ` rsandifo at gcc dot gnu.org
@ 2011-08-24 17:42 ` rsandifo at gcc dot gnu.org
  2011-08-26  8:47 ` rsandifo at gcc dot gnu.org
  2012-01-18 13:27 ` rsandifo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-08-24 17:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-08-24 17:21:52 UTC ---
Author: rsandifo
Date: Wed Aug 24 17:21:48 2011
New Revision: 178043

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178043
Log:
libgcc/
    PR target/50090
    * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
    (RENAME_LIBRARY): Use a C-level alias instead of an assembly one.

Modified:
    branches/gcc-4_6-branch/libgcc/ChangeLog
    branches/gcc-4_6-branch/libgcc/config/arm/bpabi-lib.h


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/50090] ARM EABI symbols in libgcc.a have default visibility
  2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-08-24 17:42 ` rsandifo at gcc dot gnu.org
@ 2011-08-26  8:47 ` rsandifo at gcc dot gnu.org
  2012-01-18 13:27 ` rsandifo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-08-26  8:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-08-26 08:32:12 UTC ---
Author: rsandifo
Date: Fri Aug 26 08:32:06 2011
New Revision: 178097

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178097
Log:
gcc/
    PR target/50090
    * config/arm/bpabi.h (RENAME_LIBRARY_SET): Delete.
    (RENAME_LIBRARY): Use a C-level alias instead of an assembly one.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/config/arm/bpabi.h


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/50090] ARM EABI symbols in libgcc.a have default visibility
  2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-08-26  8:47 ` rsandifo at gcc dot gnu.org
@ 2012-01-18 13:27 ` rsandifo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-01-18 13:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50090

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-01-18 12:05:54 UTC ---
Fix applied to 4.5, 4.6 and trunk.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-18 12:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15 14:00 [Bug target/50090] New: ARM EABI symbols in libgcc.a have default visibility rsandifo at gcc dot gnu.org
2011-08-15 14:14 ` [Bug target/50090] " rsandifo at gcc dot gnu.org
2011-08-17 11:25 ` rsandifo at gcc dot gnu.org
2011-08-24 17:42 ` rsandifo at gcc dot gnu.org
2011-08-26  8:47 ` rsandifo at gcc dot gnu.org
2012-01-18 13:27 ` rsandifo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).