This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: decreasing location counter outside an output section
- From: Ian Lance Taylor <iant at google dot com>
- To: ali hagigat <hagigatali at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 24 Jan 2011 09:43:07 -0800
- Subject: Re: decreasing location counter outside an output section
- References: <AANLkTinY8J87YsxR=VQmQ6XGEVYKGjpgzqyFF0bHFKZY@mail.gmail.com>
ali hagigat <hagigatali@gmail.com> writes:
> The location counter may not be moved backwards
> inside an output section, and may not be moved backwards outside of an
> output section if
> so doing creates areas with overlapping LMAs.
> ---------------------------------------------------------------------
> I wonder if anybody can give an example when the location counter is
> moved backwards outside of an output section leads to overlapping
> LMAs.
Tryu putting . = . - 1024 in some linker script between two output
sections.
Ian