mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix for s390x
This commit is contained in:
parent
519c4da4b2
commit
c5debba630
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2025-02-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/ObjectiveC2/weak.m: Comment out unnecessary code which does
|
||||
not work on s390x machines (and broke weak references on them).
|
||||
|
||||
2025-01-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Documentation/ReleaseNotes.gsdoc: fix bad line break markup
|
||||
|
|
|
@ -30,6 +30,11 @@ isPersistentObject(id obj)
|
|||
return YES;
|
||||
}
|
||||
|
||||
/* Disabled check for addresses not matching alignment rules below.
|
||||
* The test is broken for the s390x (which is a Debiam supported machine)
|
||||
* and shouldn't actually be needed anyway.
|
||||
*/
|
||||
#if 0
|
||||
/* If the alignment of the object does not match that needed for a
|
||||
* pointer (to the class of the object) then the object must be a
|
||||
* special one of some sort and we assume it's persistent.
|
||||
|
@ -44,6 +49,7 @@ isPersistentObject(id obj)
|
|||
{
|
||||
return YES;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
c = object_getClass(obj);
|
||||
|
|
Loading…
Reference in a new issue