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]

[committed] Correct alignment of atomic_lock_t in s-osinte-linux-hppa.ads


This corrects a bits versus bytes error noticed by Arnaud in my original
patch.

Tested on hppa-unknown-linux-gnu.  Committed to 4.0, 4.1 and head.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.

Index: s-osinte-linux-hppa.ads
===================================================================
--- s-osinte-linux-hppa.ads	(revision 109115)
+++ s-osinte-linux-hppa.ads	(working copy)
@@ -508,7 +508,7 @@
       lock : lock_array;
    end record;
    pragma Convention (C, atomic_lock_t);
-   for atomic_lock_t'Alignment use 8 * 16;
+   for atomic_lock_t'Alignment use 16;
 
    type struct_pthread_fast_lock is record
       spinlock : atomic_lock_t;


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