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:
parent
c7e64c9a76
commit
7f8411279d
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue