This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU_STACK header is not present when linking with gc-sections.


Sriraman Tallam <tmsriram@google.com> writes:

> Index: object.cc
> ===================================================================
> RCS file: /cvs/src/src/gold/object.cc,v
> retrieving revision 1.117
> diff -u -u -p -r1.117 object.cc
> --- object.cc	8 Jan 2010 22:34:34 -0000	1.117
> +++ object.cc	15 Jan 2010 00:34:15 -0000
> @@ -1321,7 +1321,7 @@ Sized_relobj<size, big_endian>::do_layou
>          }
>      }
>
> -  if (!is_gc_pass_one)
> +  if (!is_gc_pass_two)
>      layout->layout_gnu_stack(seen_gnu_stack, gnu_stack_flags);
>
>
> Is this ok to submit ?

This is OK with a ChangeLog entry, if it fixes the problem.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]