ld -r breakage
Alan Modra
alan@linuxcare.com.au
Thu Jun 15 02:13:00 GMT 2000
More information about the Binutils mailing list
Thu Jun 15 02:13:00 GMT 2000
- Previous message (by thread): ld -r breakage
- Next message (by thread): ld -r breakage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 14 Jun 2000, Ian Lance Taylor wrote: > Any recollection about this comment Ian? > /* Text section is write protected (if D_PAGED is not set, this is > like an a.out NMAGIC file) (the linker sets this by default, but > clears it for -r or -N). */ > #define WP_TEXT 0x80 > > This is an a.out thing, really. In a.out, section flags are implied > by the magic number. And vice versa. Since OMAGIC should be used for object files, we ought to continue to clear config.text_read_only for "ld -r". config.text_read_only clear => WP_TEXT cleared in ldlang.c:ldlang_open_output => o_magic selected in aoutx.h:adjust_sizes_and_vmas I've checked in the fix I posted earlier. Regards, Alan Modra -- Linuxcare. Support for the Revolution.
- Previous message (by thread): ld -r breakage
- Next message (by thread): ld -r breakage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list