Use default sub-segment align for non-ELF powerpc

Defining this to zero for COFF and PE meant that code sections were
padded with zeros.  The fact that no one has complained since 2006
says these targets are dead, I guess.

	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
This commit is contained in:
Alan Modra 2015-11-19 16:53:43 +10:30
parent b39910205f
commit f29cf775fa
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-11-19 Alan Modra <amodra@gmail.com>
* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
2015-11-16 Mike Frysinger <vapier@gentoo.org>
* config/tc-microblaze.c (parse_imm): Add an offsetT cast.

View File

@ -85,7 +85,9 @@ extern char *ppc_target_format (void);
extern void ppc_handle_align (struct frag *);
extern void ppc_frag_check (struct frag *);
#ifdef OBJ_ELF
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
#endif
#define md_frag_check(FRAGP) ppc_frag_check (FRAGP)