Matching object files in an archieve in linker script?

Tao Zhang
Fri Jul 23 02:55:00 GMT 2004

Hi, all

I know I can match an archieve in a linker script like:

		.ovly1 { /home/zhangta/tests/cgpart/libfoo1.a(.text) }

But is it possible to match the object files in an archieve? What if I
want to give bar1.o and bar2.o in foo1.a different virtual addresses?
Could it be done?

Thanks so much


			-Tao Zhang (

More information about the Binutils mailing list