old-cross-binutils/ld/testsuite/ld-mips-elf/reloc-merge-lo16.d
Eric Christopher 9b2f1d3522 2005-02-22 Eric Christopher <echristo@redhat.com>
* ld-mips-elf/reloc-merge-lo16.d: Correct symbol
	table size for __start.

2005-02-22  Eric Christopher  <echristo@redhat.com>

	* config/tc-mips.c (struct proc): Change isym to
	func_sym. New member func_end_sym.
	(s_mips_ent): Update.
	(s_mips_end): Ditto. Add code to compute function size.
2005-02-22 23:54:41 +00:00

16 lines
431 B
Makefile

#name: MIPS ELF lo16 merge
#source: reloc-merge-lo16.s
#ld: -Treloc-merge-lo16.ld
#objdump: -td --prefix-addresses --show-raw-insn
# Test lo16 reloc calculation with string merging.
.*: +file format .*mips.*
#...
0+80fe70 l .rodata 0+000000 g
0+400000 g F .text 0+00000c __start
#...
0+400000 <[^>]*> 3c020081 lui v0,0x81
0+400004 <[^>]*> 2443fe70 addiu v1,v0,-400
0+400008 <[^>]*> 2442fe70 addiu v0,v0,-400
\.\.\.