This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Merge ARM.attribute sections.


The attached patch adds the .ARM.attributes section to the default linker 
script. This avoids creating .ARM.attribute.N output sections.

Tested with cross to arm-none-eabi.
Ok?

Paul

2005-10-19  Paul Brook  <paul@codesourcery.com>

	* emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
Index: ld/emulparams/armelf.sh
===================================================================
RCS file: /var/cvsroot/src-cvs/src/ld/emulparams/armelf.sh,v
retrieving revision 1.16
diff -u -p -r1.16 armelf.sh
--- ld/emulparams/armelf.sh	5 Aug 2005 04:29:56 -0000	1.16
+++ ld/emulparams/armelf.sh	19 Oct 2005 00:29:54 -0000
@@ -10,7 +10,8 @@ OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue
 OTHER_BSS_SYMBOLS='__bss_start__ = .;'
 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
 OTHER_END_SYMBOLS='__end__ = . ;'
-OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
+OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
+  .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }'
 OTHER_READONLY_SECTIONS="
   .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
   ${RELOCATING+ __exidx_start = .; }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]