Re: [rtems-tools commit] linkers: Disable .type statements in symbol code.

2014-11-05 Thread Joel Sherrill
Which targets do you think this fixes?

On November 5, 2014 7:02:32 PM CST, Chris Johns chr...@rtems.org wrote:
Module:rtems-tools
Branch:master
Commit:b9c0a0436d387429035241d3d4d03446b6f915cf
Changeset:
http://git.rtems.org/rtems-tools/commit/?id=b9c0a0436d387429035241d3d4d03446b6f915cf

Author:Chris Johns chr...@rtems.org
Date:  Thu Nov  6 12:05:38 2014 +1100

linkers: Disable .type statements in symbol code.

Some of the assemblers do not support this statement.

---

 linkers/rtems-syms.cpp |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp
index 24cc56d..6f167e3 100644
--- a/linkers/rtems-syms.cpp
+++ b/linkers/rtems-syms.cpp
@@ -80,16 +80,20 @@ static const char* c_trailer[] =
 {
   asm(\  .byte0\);,
   asm(\  .ascii   \xde\\xad\\xbe\\xef);,
+#if BROKEN_ON_SOME_ASSEMBLERS
   asm(\  .typertems__rtl_base_globals, #object\);,
asm(\  .sizertems__rtl_base_globals, . -
rtems__rtl_base_globals\);,
+#endif
   ,
   /*,
* Symbol table size.,
*/,
   asm(\  .align   4\);,
   asm(\  .local   rtems__rtl_base_globals_size\);,
+#if BROKEN_ON_SOME_ASSEMBLERS
   asm(\  .typertems__rtl_base_globals_size, #object\);,
   asm(\  .sizertems__rtl_base_globals_size, 4\);,
+#endif
   asm(\rtems__rtl_base_globals_size:\);,
asm(\  .long rtems__rtl_base_globals_size -
rtems__rtl_base_globals\);,
   ,

___
vc mailing list
v...@rtems.org
http://lists.rtems.org/mailman/listinfo/vc

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [rtems-tools commit] linkers: Disable .type statements in symbol code.

2014-11-05 Thread Chris Johns

On 6/11/2014 12:15 pm, Joel Sherrill wrote:

Which targets do you think this fixes?


The i386 now builds. See my other email.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel