2006-05-05 H.J. Lu <hongjiu.lu@intel.com>

PR gas/2598
	* config/obj-elf.c (obj_elf_change_section): Allow user
	specified SHF_ALPHA_GPREL.
This commit is contained in:
H.J. Lu 2006-05-05 18:24:45 +00:00
parent c7e64c9a76
commit 7f8411279d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2598
* config/obj-elf.c (obj_elf_change_section): Allow user
specified SHF_ALPHA_GPREL.
2006-05-05 Bjoern Haase <bjoern.m.haase@web.de>
* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups

View File

@ -632,6 +632,11 @@ obj_elf_change_section (const char *name,
else if (attr == SHF_EXECINSTR
&& strcmp (name, ".note.GNU-stack") == 0)
override = TRUE;
#ifdef TC_ALPHA
/* A section on Alpha may have SHF_ALPHA_GPREL. */
else if ((attr & ~ssect->attr) == SHF_ALPHA_GPREL)
override = TRUE;
#endif
else
{
if (group_name == NULL)