Skip to content
Snippets Groups Projects
Commit 04280d87 authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 2000-01-17 16:24:45 by sewardj]

Change alignment directives for x86 segment changes to something
more plausible-looking for Linux.
parent 2b40f3a5
No related merge requests found
......@@ -400,16 +400,24 @@ pprInstr (SEGMENT TextSegment)
= ptext
IF_ARCH_alpha(SLIT("\t.text\n\t.align 3") {-word boundary-}
,IF_ARCH_sparc(SLIT("\t.text\n\t.align 4") {-word boundary-}
,IF_ARCH_i386((_PK_ ".text\n\t.align 2\x2c\&0x90") {-needs per-OS variation!-}
,IF_ARCH_i386((_PK_ ".text\n\t.align 4") {-needs per-OS variation!-}
,)))
#if 0
,IF_ARCH_i386((_PK_ ".text\n\t.align 2\x2c\&0x90") {-needs per-OS variation!-}
#endif
pprInstr (SEGMENT DataSegment)
= ptext
IF_ARCH_alpha(SLIT("\t.data\n\t.align 3")
,IF_ARCH_sparc(SLIT("\t.data\n\t.align 8") {-<8 will break double constants -}
,IF_ARCH_i386(SLIT(".data\n\t.align 2")
,IF_ARCH_i386(SLIT(".data\n\t.align 4")
,)))
#if 0
,IF_ARCH_i386(SLIT(".data\n\t.align 2")
#endif
pprInstr (LABEL clab)
= let
pp_lab = pprCLabel_asm clab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment