mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* config/tc-mips.c (md_section_align): Don't change addr if
OBJ_ELF. PR 10181.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Fri Aug 2 11:23:31 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (md_section_align): Don't change addr if
|
||||||
|
OBJ_ELF.
|
||||||
|
|
||||||
Thu Aug 1 23:51:52 1996 Jeffrey A Law (law@cygnus.com)
|
Thu Aug 1 23:51:52 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* config/tc-hppa.c: Revert yesterday's changes.
|
* config/tc-hppa.c: Revert yesterday's changes.
|
||||||
|
@ -7393,9 +7393,13 @@ md_section_align (seg, addr)
|
|||||||
asection *seg;
|
asection *seg;
|
||||||
valueT addr;
|
valueT addr;
|
||||||
{
|
{
|
||||||
|
#ifndef OBJ_ELF
|
||||||
int align = bfd_get_section_alignment (stdoutput, seg);
|
int align = bfd_get_section_alignment (stdoutput, seg);
|
||||||
|
|
||||||
return ((addr + (1 << align) - 1) & (-1 << align));
|
return ((addr + (1 << align) - 1) & (-1 << align));
|
||||||
|
#else
|
||||||
|
return addr;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Utility routine, called from above as well. If called while the
|
/* Utility routine, called from above as well. If called while the
|
||||||
|
Reference in New Issue
Block a user