Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op.h: Add additional padding to struct opslab to ensure proper alignment #17875

Merged
merged 1 commit into from
Jun 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ John Macdonald <jmm@revenge.elegant.com>
John Malmberg <wb8tyw@gmail.com>
John Nolan <jpnolan@Op.Net>
John P. Linderman <jpl.jpl@gmail.com>
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
John Peacock <jpeacock@messagesystems.com>
John Pfuntner <pfuntner@vnet.ibm.com>
John Poltorak <jp@eyup.org>
Expand Down
3 changes: 3 additions & 0 deletions op.h
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,9 @@ struct opslab {
units) */
# ifdef PERL_DEBUG_READONLY_OPS
bool opslab_readonly;
U8 opslab_padding; /* padding to ensure that opslab_slots is always */
# else
U16 opslab_padding; /* located at an offset with 32-bit alignment */
# endif
OPSLOT opslab_slots; /* slots begin here */
};
Expand Down