What have you done to strings!
Tristan Gingold
gingold@adacore.com
Wed Oct 29 10:20:00 GMT 2014
More information about the Binutils mailing list
Wed Oct 29 10:20:00 GMT 2014
- Previous message (by thread): What have you done to strings!
- Next message (by thread): What have you done to strings!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> On 29 Oct 2014, at 10:37, Andreas Schwab <schwab@linux-m68k.org> wrote: > > Tristan Gingold <gingold@adacore.com> writes: > >>> On 29 Oct 2014, at 09:42, Andreas Schwab <schwab@linux-m68k.org> wrote: >>> >>> Tristan Gingold <gingold@adacore.com> writes: >>> >>>> Nowadays (and since 'const' is part of C), strings and const are in >>>> .text; >>> >>> Nowadays they are in .rodata. >> >> Ok, in the code segment if you prefer. But the point is that 35 years ago >> they would be displayed by strings, and nowadays you need strings -a. > > strings is looking at .rodata by default. In fact, strings looks at any > section that is allocated, loaded and has contents, which even includes > .text. Point taken.
- Previous message (by thread): What have you done to strings!
- Next message (by thread): What have you done to strings!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list