This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patch to fix internal linker error
- To: binutils@sourceware.cygnus.com
- Subject: Patch to fix internal linker error
- From: Nick Clifton <nickc@cygnus.com>
- Date: Mon, 6 Sep 1999 11:47:03 +0100
- Reply-to: nickc@cygnus.co.uk
Hi Guys,
I would like to apply the following patch. It fixes an internal
linker error when the arm-pe port is building.
Any objections ?
Cheers
Nick
1999-09-06 Nick Clifton <nickc@cygnus.com>
* ldexp.c (exp_fold_tree): Treat BLOCK like ALIGN_K.
Index: ldexp.c
===================================================================
RCS file: /cvs/binutils/binutils/ld/ldexp.c,v
retrieving revision 1.2
diff -p -w -r1.2 ldexp.c
*** ldexp.c 1999/07/11 20:08:59 1.2
--- ldexp.c 1999/09/06 10:44:02
*************** exp_fold_tree (tree, current_section, al
*** 525,530 ****
--- 525,531 ----
{
switch (tree->type.node_code)
{
+ case BLOCK:
case ALIGN_K:
if (allocation_done != lang_first_phase_enum)
result = new_rel_from_section (ALIGN_N (dot, result.value),