mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Do not align sectins when producing ELF format objects.
This commit is contained in:
parent
cdf82bcf48
commit
5856c19ac4
@ -1,5 +1,8 @@
|
||||
1999-09-01 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-arm.c (md_section_align): Do not align sections in ELF
|
||||
format.
|
||||
|
||||
* as.c (show_usage): Add --gdwarf2 to list of options displayed.
|
||||
* as.texinfo: Document --gdwarf2 command line option.
|
||||
Add additional documentation of ARM command line switches.
|
||||
|
@ -5181,9 +5181,7 @@ md_section_align (segment, size)
|
||||
valueT size;
|
||||
{
|
||||
#ifdef OBJ_ELF
|
||||
/* Don't align the dwarf2 debug sections */
|
||||
if (!strncmp (segment->name, ".debug", 5))
|
||||
return size;
|
||||
return size;
|
||||
#endif
|
||||
/* Round all sects to multiple of 4 */
|
||||
return (size + 3) & ~3;
|
||||
|
Loading…
Reference in New Issue
Block a user