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]

Re: x86-win32 "shared" attribute


  In message <199908070545.AAA16163@mercury.xraylith.wisc.edu>you write:
  > The following patch introduces a new attribute for x86-win32, "shared",
  > that allows a section/segment to be shareable among all running copies
  > of the executable.
  > 
  > For example, the declaration:
  >   
  >   int __attribute__((section("my_shared_data"),shared) foo = 0;
  > 
  > will put foo in a named section called "my_shared_data" and make it 
  > shareable among all running copies of the executable.
  > 
  > Sat Aug  7 00:38:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
  > 	
  > 	* i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
  > 	shared as a valid attribute.
  > 	* i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
Thanks.  Installed (including the follow-on doc patch you sent).

jeff


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