Explicit PHDRS and empty sections

Nick Clifton nickc@cambridge.redhat.com
Thu Jun 6 03:05:00 GMT 2002


Hi David,

> Tensilica executed a copyright assignment for binutils in order to 
> contribute a port for the Xtensa architecture. It should be on file
> already and it covers this work.

Ah OK.  In which case:

bfd
2002-06-06  David Heine <dlheine@tensilica.com>

	* elf.c (assign_file_positions_for_segments): Remove unallocated
	sections from the section to segment mapping for PT_LOAD segments.
	Update comment about empty loadable segments.

ld/testsuite
2002-06-06  David Heine <dlheine@tensilica.com>

	* ld-scripts/phdrs2.exp: New file: Run second phdrs test.
	* ld-scripts/phdrs2.s: New file: Dummy assembler source.
	* ld-scripts/phdrs2.t: New file: Linker script with an empty
	section at the start of a loadable segment.

Approved and applied.

Cheers
        Nick



More information about the Binutils mailing list