diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-02-20 15:31:10 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2004-02-20 15:31:10 +0000 |
commit | 876f40905a27ef106554f894321b23d8130e9ffc (patch) | |
tree | eda3fbb1695ae2a4858e9055b07078e3842b17b2 /ld/ldexp.c | |
parent | 627fe3fb790fa71dea2b5699f4e23bbbcf184d5f (diff) | |
download | gdb-876f40905a27ef106554f894321b23d8130e9ffc.zip gdb-876f40905a27ef106554f894321b23d8130e9ffc.tar.gz gdb-876f40905a27ef106554f894321b23d8130e9ffc.tar.bz2 |
* ldgram.y (exp): Add two operand ALIGN.
* ldexp.c (fold_binary): Add ALIGN_K case.
* ld.texinfo (ALIGN): Document two operand version.
* ld-scripts/align.{s,t,exp}: New.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -394,6 +394,10 @@ fold_binary (etree_type *tree, result = other; break; + case ALIGN_K: + result.value = align_n (result.value, other.value); + break; + case DATA_SEGMENT_ALIGN: if (allocation_done != lang_first_phase_enum && current_section == abs_output_section |