Apress / low-level-programming

Source code for 'Low-Level Programming' by Igor Zhirkov
http://www.apress.com/9781484224021
Other
768 stars 200 forks source link

Fix Segmentation Fault in chap2/endianness #91

Open afernandez90 opened 1 year ago

afernandez90 commented 1 year ago

The instructions for the functions are defined in a .data section, which results in a segmentation fault. Marking the section as .text resolves the issue.