newlib/include/elf
H.J. Lu 206ac17473 bfd/
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

	* elf-bfd.h (bfd_elf_special_section): New.
	(elf_backend_data): Add special_sections, a pointer to
	bfd_elf_special_section.
	(elf_section_type). New.
	(elf_section_flags): New.
	(_bfd_elf_get_sec_type_attr): New.

	* elf.c (_bfd_elf_make_section_from_shdr): Always use the
	real section type/flags.
	(special_sections): New.
	(get_special_section): New.
	(_bfd_elf_get_sec_type_attr): New.
	(_bfd_elf_new_section_hook): Check special_section to set
	elf_section_type and elf_section_flags.
	(elf_fake_sections): Don't use section name to set ELF section
	data.

	* elf32-m32r.c (m32r_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-mcore.c (mcore_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-ppc.c (ppc_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-sh64.c (sh64_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-v850.c (v850_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf32-xtensa.c (elf_xtensa_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf64-alpha.c (elf64_alpha_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf64-hppa.c (elf64_hppa_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf64-ppc.c (ppc64_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elf64-sh64.c (sh64_elf64_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elfxx-ia64.c (elfNN_ia64_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elfxx-mips.c (_bfd_mips_elf_special_sections): New.

	* elfxx-mips.h (_bfd_mips_elf_special_sections): New.
	(elf_backend_special_sections): Defined.

	* elfxx-target.h (elf_backend_special_sections): New. Default
	to NULL.
	(elfNN_bed): Initialize special_sections.

	* section.c (bfd_abs_section): Remove const.
	(bfd_und_section): Likewise.
	(bfd_com_section): Likewise.
	(bfd_ind_section): Likewise.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

	* config/obj-elf.c (special_sections): Removed.
	(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
	elf_section_type and elf_section_flags.
	(elf_frob_file): Set SHT_GROUP.

	* config/obj-elf.h (obj_sec_set_private_data): New.

	* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
	* config/tc-ia64.h: Likewise.
	* config/tc-m32r.h: Likewise.
	* config/tc-m68hc11.h: Likewise.
	* config/tc-mcore.h: Likewise.
	* config/tc-mips.h: Likewise.
	* config/tc-ppc.h: Likewise.
	* config/tc-sh64.h: Likewise.
	* config/tc-v850.h: Likewise.
	* config/tc-xtensa.h: Likewise.

	* config/tc-v850.h (SHF_V850_GPREL): Removed.
	(SHF_V850_EPREL): Likewise.
	(SHF_V850_R0REL): Likewise.

	* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
	is defined.

include/elf/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

	* v850.h (SHF_V850_GPREL): New.
	(SHF_V850_EPREL): Likewise.
	(SHF_V850_R0REL): Likewise.
2003-07-25 14:35:54 +00:00
..
ChangeLog bfd/ 2003-07-25 14:35:54 +00:00
alpha.h include/elf/ 2002-06-02 02:28:45 +00:00
arc.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
arm.h Fixes for iWMMXt contribution. 2003-04-01 13:08:06 +00:00
avr.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
common.h (GNU_ABI_TAG_NETBSD): New tag. 2003-06-13 13:07:51 +00:00
cris.h * cris.h: Add leading comment about PC-relative location. 2001-03-22 13:03:58 +00:00
d10v.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
d30v.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
dlx.h Add DLX target 2002-05-28 14:08:26 +00:00
dwarf.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
dwarf2.h Add support for displaying extension to DWARF2 used by Unified Parallel C 2002-12-10 17:48:27 +00:00
external.h 2003-05-15 Roland McGrath <roland@redhat.com> 2003-05-21 00:55:15 +00:00
fr30.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
frv.h 2002-06-18 Dave Brolley <brolley@redhat.com> 2002-06-18 21:15:57 +00:00
h8.h include/elf/ 2003-06-10 07:09:28 +00:00
hppa.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
i370.h * i370.h: Define relocs using reloc-macros.h. 2002-08-15 12:19:14 +00:00
i386.h bfd/ 2002-09-19 19:01:18 +00:00
i860.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
i960.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ia64.h Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT. 2003-02-21 12:17:51 +00:00
internal.h 2003-05-15 Roland McGrath <roland@redhat.com> 2003-05-21 00:55:15 +00:00
ip2k.h Add IP2k support to BFD and LD 2002-07-17 14:15:50 +00:00
iq2000.h * dis-asm.h (print_insn_iq2000): Declare. 2003-01-03 18:03:18 +00:00
m32r.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
m68hc11.h * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define. 2002-12-01 12:16:21 +00:00
m68k.h bfd: 2002-02-13 18:14:48 +00:00
mcore.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
mips.h * mmix.h: Convert to ISO C90 prototypes. 2003-06-29 13:51:25 +00:00
mmix.h * mmix.h: Convert to ISO C90 prototypes. 2003-06-29 13:51:25 +00:00
mn10200.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
mn10300.h 2001-05-16 Alexandre Oliva <aoliva@redhat.com> 2003-07-10 03:19:40 +00:00
msp430.h Add support for msp430. 2002-12-30 19:25:12 +00:00
openrisc.h Add OpenRISC support 2001-04-24 15:08:16 +00:00
or32.h Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:03 +00:00
pj.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ppc.h * ppc.h: Replace DTPMOD64, TPREL64, DTPREL64 with DTPMOD32 etc. 2003-02-18 06:03:41 +00:00
ppc64.h * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC. 2003-02-18 12:52:55 +00:00
reloc-macros.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
s390.h * s390.h (elf_s390_reloc_type): Add long displacement relocations 2003-07-01 14:46:26 +00:00
sh.h Fix sh-elf linker relaxation: 2003-03-03 21:03:58 +00:00
sparc.h bfd/ 2003-01-24 23:44:45 +00:00
v850.h bfd/ 2003-07-25 14:35:54 +00:00
vax.h include/elf: 2002-07-01 16:43:38 +00:00
x86-64.h bfd/ 2002-09-27 19:29:16 +00:00
xstormy16.h * xstormy16.h: Add XSTORMY16_12. 2002-12-20 21:13:42 +00:00
xtensa.h Add Xtensa port 2003-04-01 15:50:31 +00:00