libc/include
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
..
aout Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in 2003-03-06 16:45:42 +00:00
coff (IMAGE_FILE_NET_RUN_FROM_SWAP): Define. 2003-07-17 14:37:17 +00:00
elf bfd/ 2003-07-25 14:35:54 +00:00
gdb * gdb/fileio.h: New file. 2003-06-10 14:23:05 +00:00
mpw Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
nlm * common.h (NLM_CAT, NLM_CAT3): Don't define. 2001-10-02 05:59:56 +00:00
opcode include/opcode/ 2003-07-15 07:50:34 +00:00
COPYING * COPYING: Update to current 2000-12-19 22:01:20 +00:00
ChangeLog * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:11:16 +00:00
MAINTAINERS add MAINTAINERS files 2000-07-05 19:28:05 +00:00
alloca-conf.h Add alloca-conf.h from libiberty. 2000-09-28 08:00:54 +00:00
ansidecl.h merge from gcc 2003-06-17 16:31:07 +00:00
bfdlink.h Correct spelling of "relocatable". 2003-06-25 06:40:17 +00:00
bin-bugs.h Update address for bug reports. 2001-01-09 21:05:35 +00:00
bout.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
demangle.h 2003-07-06 H.J. Lu <hongjiu.lu@intel.com> 2003-07-06 21:44:55 +00:00
dis-asm.h Add Xtensa port 2003-04-01 15:50:31 +00:00
dyn-string.h merge from gcc 2002-04-01 22:01:10 +00:00
fibheap.h merge from gcc 2002-06-25 01:03:52 +00:00
filenames.h * filenames.h: Add cygwin to the list of dosish style path systems. 2001-10-16 12:47:31 +00:00
floatformat.h Remove floatformat_arm_ext. 2002-03-06 06:29:41 +00:00
fnmatch.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
fopen-bin.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
fopen-same.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
fopen-vms.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
gdbm.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
getopt.h merge from gcc 2002-10-27 01:02:05 +00:00
hashtab.h s/burtle/iterative 2003-05-07 20:30:13 +00:00
hp-symtab.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ieee.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
libiberty.h libiberty/ChangeLog: 2003-05-15 19:08:25 +00:00
md5.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
oasys.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
objalloc.h * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. 2001-09-18 09:59:28 +00:00
obstack.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
os9k.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
partition.h merge from gcc 2002-10-27 01:02:05 +00:00
progress.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
safe-ctype.h merge from gcc 2003-06-22 16:35:51 +00:00
sort.h merge from gcc 2002-06-25 01:03:52 +00:00
splay-tree.h merge from gcc 2003-01-10 03:27:26 +00:00
symcat.h Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
ternary.h merge from gcc 2001-05-08 14:34:36 +00:00
xregex.h merge from gcc 2001-08-02 23:27:47 +00:00
xregex2.h merge from gcc 2002-04-17 01:03:04 +00:00
xtensa-config.h * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:11:16 +00:00
xtensa-isa-internal.h * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on 2003-05-09 11:36:09 +00:00
xtensa-isa.h Add Xtensa port 2003-04-01 15:50:31 +00:00