Fix excessive alignment for the aout case, and unbreak genassym for that case.
Our aout linker has alignment hacks and doesn't need gcc to do anything special. Tested for a year by: bde :-)
This commit is contained in:
parent
3c3942fcfc
commit
c48e5a6b24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97908
@ -279,11 +279,10 @@ Boston, MA 02111-1307, USA. */
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
int alignbytes = ((ALIGN) + BITS_PER_UNIT - 1) / BITS_PER_UNIT; \
|
||||
int rounded = (SIZE); \
|
||||
if (rounded == 0) rounded = 1; \
|
||||
rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1; \
|
||||
rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT) \
|
||||
* (BIGGEST_ALIGNMENT / BITS_PER_UNIT)); \
|
||||
rounded += alignbytes - 1; \
|
||||
rounded = (rounded / alignbytes) * alignbytes; \
|
||||
fprintf ((FILE), "%s ", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
fprintf ((FILE), ",%u\n", (rounded)); \
|
||||
|
Loading…
Reference in New Issue
Block a user