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: decreasing location counter outside an output section


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


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