binutils-gdb/include/elf
Geoffrey Keating bb2d6cd7b1 In bfd/:
* elf32-mips.c (mips_elf_next_relocation): Rename from
	mips_elf_next_lo16_relocation, and generalize to look
	for any relocation type.
	(elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
	(elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
	(elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
	(elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
	(elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
	(elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
	(bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
	(mips_rtype_to_howto): Likewise.
	(mips_elf_calculate_relocation): Handle new relocs.
	(_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
	are paired.  The addend for R_MIPS_GNU_REL16_S2
	is shifted right two bits.
In gas/:
	* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
	when embedded-pic.

	* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
 	implementation doesn't have special handling for switch
 	statements.
	(macro_build): Allow for code in sections other than .text.
	(macro): Likewise.
	(mips_ip): Likewise.
	(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
  	Don't perform relocs if we will be outputting them.
	(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
 	relocations.  Allow BFD_RELOC_16_PCREL_S2 relocs when
 	embedded-pic.
In gas/testsuite/:
	* gas/mips/empic.d: New file.
	* gas/mips/empic.s: New file.
	* gas/mips/mips16-e.d: New file.
	* gas/mips/mips16-e.s: New file.
	* gas/mips/mips16-f.d: New file.
	* gas/mips/mips16-f.s: New file.
	* gas/mips/mips.exp: Add empic, mips16-e.  Add mips16-f as an
	expected failure.
In include/elf:
	* mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
 	R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
 	numbers.
2000-03-11 02:16:25 +00:00
..
alpha.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
arc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
arm-oabi.h Apply H>J's patch to propogate changes made by Thomas de Lellis to arm.h 2000-02-03 19:20:37 +00:00
arm.h Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions when 2000-01-27 20:05:32 +00:00
ChangeLog In bfd/: 2000-03-11 02:16:25 +00:00
common.h Updated comment. 2000-02-22 19:59:40 +00:00
d10v.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
d30v.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
dwarf2.h Stu Grossman <grossman@babylon-5.cygnus.com> 1999-06-02 18:14:14 +00:00
dwarf.h Stu Grossman <grossman@babylon-5.cygnus.com> 1999-06-02 18:14:14 +00:00
external.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
fr30.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
hppa.h Fix include paths 1999-12-09 18:23:45 +00:00
i370.h Add IBM 370 support. 2000-02-23 13:52:23 +00:00
i386.h Fix include paths 1999-12-09 18:23:45 +00:00
i960.h Fix include paths 1999-12-09 18:23:45 +00:00
internal.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m32r.h * m32r.h (E_M32RX_ARCH): Define. 1999-10-05 00:43:14 +00:00
m68k.h * m68k.h (EF_CPU32): Move definition inside multiple inclusion 1999-07-13 00:50:47 +00:00
mcore.h fix spelling of Motorola 2000-01-20 19:08:43 +00:00
mips.h In bfd/: 2000-03-11 02:16:25 +00:00
mn10200.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mn10300.h * mn10300.h (E_MN10300_MACH_AM33): Define. 1999-12-01 10:06:15 +00:00
pj.h 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:15:44 +00:00
ppc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
reloc-macros.h Update comment 1999-05-28 10:47:30 +00:00
sh.h bfd: 2000-02-17 00:33:36 +00:00
sparc.h Jakub Jelinek <jj@ultra.linux.cz> 1999-07-16 21:36:38 +00:00
v850.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00