PR ld/18176
* ldlang.c (lang_size_sections): Cast shift expression.
2015-04-07 Alan Modra <amodra@gmail.com>
+ PR ld/18176
+ * ldlang.c (lang_size_sections): Cast shift expression.
+
+2015-04-07 Alan Modra <amodra@gmail.com>
+
* emultempl/ppc32elf.em: Handle --no-pic-fixup.
(params): Init new field.
(ppc_before_allocation): Enable relaxation for pic_fixup.
between sections won't change. This is better than
simply subtracting 1 << max_alignment_power which is
what we used to do here. */
- expld.dataseg.base &= ~((1 << max_alignment_power) - 1);
+ expld.dataseg.base &= ~(((bfd_vma) 1 << max_alignment_power) - 1);
/* It doesn't make much sense to go lower than the initial
base. That can only increase padding. */
if (expld.dataseg.base < initial_base)