Menu

#304 'shared' section flag doesn't work

OTHER
closed
nobody
works-for-me
User_Error
2013-01-30
2003-03-01
No

for the following code mingw gcc produces executable
that windows refuses to run.

int foo __attribute__((section ("shared"), shared)) = 0;

int
main()
{
return 0;
}

Discussion

  • Danny Smith

    Danny Smith - 2003-03-01
    • status: open --> closed-works-for-me
     
  • Danny Smith

    Danny Smith - 2003-03-01

    Logged In: YES
    user_id=11494

    Works with GNU ld version 2.13.90 20030111 which is
    available from mingw file download site (in release
    candidates section).

     
  • Earnie Boyd

    Earnie Boyd - 2013-01-30
    • labels: --> gcc, binutils
    • resolution: --> works-for-me
    • category: --> User_Error
    • milestone: Known_bugs --> OTHER
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-30
    • status: closed-works-for-me --> closed