Oops - forgot to commit this part of a previous delta:
* config/tc-arm.c (arm_frag_align_code): Replace hard coded constant with MAX_MEM_FOR_RS_ALIGN_CODE.
This commit is contained in:
parent
a946d7e38e
commit
6ec8e7022b
|
@ -18385,9 +18385,16 @@ arm_frag_align_code (int n, int max)
|
|||
char * p;
|
||||
|
||||
/* We assume that there will never be a requirement
|
||||
to support alignments greater than 32 bytes. */
|
||||
to support alignments greater than MAX_MEM_FOR_RS_ALIGN_CODE bytes. */
|
||||
if (max > MAX_MEM_FOR_RS_ALIGN_CODE)
|
||||
as_fatal (_("alignments greater than 32 bytes not supported in .text sections."));
|
||||
{
|
||||
char err_msg[128];
|
||||
|
||||
sprintf (err_msg,
|
||||
_("alignments greater than %d bytes not supported in .text sections."),
|
||||
MAX_MEM_FOR_RS_ALIGN_CODE + 1);
|
||||
as_fatal (err_msg);
|
||||
}
|
||||
|
||||
p = frag_var (rs_align_code,
|
||||
MAX_MEM_FOR_RS_ALIGN_CODE,
|
||||
|
|
Loading…
Reference in New Issue