Commit Graph

32384 Commits

Author SHA1 Message Date
ABR290B
16d5e39453 psxtests/psxhdrs patch (GCI 2018) 2018-11-25 09:36:41 -06:00
Shashvat Jain
ffe9e7a0a7 m68k/gen68360:Add per-section compilation and linking support
The size of the sample executables without this option were:

   text    data     bss     dec     hex filename
  76560    1200   19504   97264   17bf0 ./base_sp.exe
 191776    2160   22448  216384   34d40 ./capture.exe
 243760    2976   20496  267232   413e0 ./cdtest.exe
 827184   21872   26928  875984   d5dd0 ./cxx_iostream.exe
 532960    4688   31904  569552   8b0d0 ./fileio.exe
  97888    1472   19360  118720   1cfc0 ./hello.exe
 250368    6080   26272  282720   45060 ./loopback.exe
  34336     304   15056   49696    c220 ./minimum.exe
  99840    1680   19616  121136   1d930 ./nsecs.exe
 185936    1968   20240  208144   32d10 ./paranoia.exe
 414992   12096   49072  476160   74400 ./pppd.exe
  79472    1232   19536  100240   18790 ./ticker.exe
  66368    1088   23120   90576   161d0 ./unlimited.exe

The size of the sample executables with this option were:

   text    data     bss     dec     hex filename
  59200    1120   19136   79456   13660 ./base_sp.exe
 178912    2160   22400  203472   31ad0 ./capture.exe
 163712    2112   20160  185984   2d680 ./cdtest.exe
 163696    2192   20352  186240   2d780 ./cxx_iostream.exe
 521344    4672   31584  557600   88220 ./fileio.exe
  89600    1472   19328  110400   1af40 ./hello.exe
 222384    5984   25920  254288   3e150 ./loopback.exe
  33728     304   15024   49056    bfa0 ./minimum.exe
  81280    1584   19248  102112   18ee0 ./nsecs.exe
 164960    1872   19904  186736   2d970 ./paranoia.exe
 402928   12096   48992  464016   71490 ./pppd.exe
  62112    1136   19168   82416   141f0 ./ticker.exe
  64864    1072   23088   89024   15bc0 ./unlimited.exe

Closes #2566.
2018-11-25 09:29:08 -06:00
pritishjain
1b2124d17c m68k/gen68340:Add per-section compilation and linking support
The size of the sample executables without this option were:

  65600    4384   19280   89264   15cb0 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe
 199728    5504   22688  227920   37a50 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe
 233024    6160   20288  259472   3f590 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe
 829632   25152   27008  881792   d7480 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe
 539072    8048   32144  579264   8d6c0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe
 100320    4752   19440  124512   1e660 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe
 240080    9264   26048  275392   433c0 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe
  36784    3584   15152   55520    d8e0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe
  89104    4864   19408  113376   1bae0 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe
 175200    5152   20016  200368   30eb0 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe
 422944   15456   49312  487712   77120 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe
  68768    4416   19312   92496   16950 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe
  68816    4368   23200   96384   17880 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe

The size of the sample executables with this option enabled were:

   text    data     bss     dec     hex filename
  54384    4384   19200   77968   13090 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe
 177648    5488   22640  205776   323d0 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe
 159392    5344   20208  184944   2d270 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe
 158720    5424   20432  184576   2d100 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe
 515696    8016   31792  555504   879f0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe
  83920    4736   19392  108048   1a610 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe
 206640    9168   25920  241728   3b040 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe
  21232    3520   15104   39856    9bb0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe
  78352    4864   19312  102528   19080 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe
 159600    5136   19968  184704   2d180 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe
 377376   15296   48528  441200   6bb70 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe
  58304    4416   19232   81952   14020 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe
  59360    4336   23168   86864   15350 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe

Closes #2573.
2018-11-24 16:54:45 -06:00
zehata
2ce44de54c Changed slightly awkward sentence structure 2018-11-22 09:59:28 -06:00
Joel Sherrill
9dfb9a9879 pipe/fifo.c: Remove dead code (CID 1437649)
Closes #3581.
2018-11-22 09:58:33 -06:00
Chris Johns
03139d5b1c libdl: Add object file dependencies to track references
Tracking references lets us manage when an object file can be
unloaded. If an object file has references to it, it cannot be
unloaded.

Modules that depend on each other cannot be unloaded.

Updates #3605
2018-11-22 12:43:31 +11:00
Chris Johns
8e7c72a7f5 libdl: Reindex unresolved names after removing used records.
Updates #3194
2018-11-22 12:43:27 +11:00
Chris Johns
803eac954e libdl: Manage the allocation of common uninitialised variables.
The use of separate text and data results in uninitialised variables
being placed in the common section. There is no section in ELF for
the common variables so the loader needs to create the section and
allocate the variables in that section. This patch does that.

The patch adds a second pass over the symbols.

The issue can also be seen as a section 65522 error.

Updates #3604
2018-11-22 12:43:21 +11:00
Himanshu40
69812aaa2c psxtmbarrierattr01: Added new POSIX timing suite (GCI 2018) 2018-11-21 14:12:54 -06:00
Sebastian Huber
52c7cb1fdc score: Simplify _Workspace_String_duplicate() 2018-11-21 18:06:01 +01:00
Sebastian Huber
59e7209fb3 score: Remove support for RTEMS_USE_16_BIT_OBJECT
The RTEMS_USE_16_BIT_OBJECT define is not set by an RTEMS port.  Remove
support for 16-bit object identifiers.  If someone really wants to use
RTEMS on a 16-bit target, then it is better to use self-contained
objects instead of playing around with object identifier optimizations.

Update #3603.
2018-11-21 08:06:27 +01:00
Sebastian Huber
e0caabe08d bsps/arm: Avoid short range branch in start.S 2018-11-21 07:48:23 +01:00
Sebastian Huber
faafc22928 bsps/arm: Use local labels in start.S 2018-11-21 07:48:23 +01:00
Sebastian Huber
945291312c bsps/arm: Simplify start.S
The boot_card() function does not return.
2018-11-21 07:48:23 +01:00
kuaLeYi
bde6ac2060 Misc: Minor English fixes (GCI 2018) 2018-11-20 09:45:51 -06:00
Himanshu40
edae517758 psxtmutexattr01: Added new POSIX timing suite (GCI 2018) 2018-11-20 09:26:57 -06:00
Sebastian Huber
0a6a4ddba8 bsps/moxie: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
38f81bfc21 bsps/nios2: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
098900186c bsps/sparc64: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
5f5bbd10fb bsps/x86_64: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
0ce6bf3ff5 bsps/epiphany: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
a74ee41742 bsps/bfin: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
508f319ef7 bsps/mips: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
84e59b7c04 bsps/powerpc: Use interrupt stack for init stack
Move start.o to separate file.

Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
cc61d5cdb2 bsps/m68k: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Himanshu40
edd366c9ef psxtmcleanup01: new POSIX timing suite (GCI 2018) 2018-11-17 12:56:35 -06:00
shashvatjain
f06c436a4a psxtmtests_plan.csv: Update to reflect psxtmmqrcvblock01 (GCI 2018) 2018-11-16 11:17:13 -06:00
shashvatjain
ccf11ce9b7 psxtmmqrcvblock01: Add new POSIX timing test (GCI 2018) 2018-11-15 16:41:39 -06:00
Himanshu40
841b54ee6a psxtmthreadattr01: Correct mistakes in previous merge (GCI 2018)
Joel admits to grabbing one iteration too early of the patch. :(
2018-11-15 16:40:47 -06:00
Himanshu40
8abb230b77 psxtmthreadattr01: Add new test (GCI 2018) 2018-11-15 14:00:59 -06:00
Joel Sherrill
68c8a197a7 testsuites/psxtests/psxhdrs: Fix comment so copyright block is separate 2018-11-14 17:32:01 -06:00
Pavel Pisa
5247a21436 bsp/tms570: correct baudrate calculation. 2018-11-14 23:48:56 +01:00
Pavel Pisa
aefd4a2dee bsp/tms570: correct inclusion of header files for build with HW init.
The build fails when TMS570_USE_HWINIT_STARTUP=1 option is set.
2018-11-14 23:46:43 +01:00
Sebastian Huber
a13b89bb17 bsp/i386: Use interrupt stack for init stack
Update #3459.
2018-11-14 08:43:07 +01:00
Sebastian Huber
5f32da0b69 bsp/or1k: Use interrupt stack for init stack
Update #3459.
2018-11-14 08:00:00 +01:00
Sebastian Huber
dc56355633 Include missing <sys/cpuset.h>
Update #3598.
2018-11-14 07:24:08 +01:00
Sebastian Huber
28bf4cae78 or1k: Support GCC 9
Close #3602.
2018-11-14 07:02:03 +01:00
Sebastian Huber
9a029cec02 bsps/irq: Use rtems_malloc() 2018-11-12 13:26:22 +01:00
Sebastian Huber
6efc831f0f Add rtems_malloc() and rtems_calloc()
Close #3583.
2018-11-12 13:26:22 +01:00
Sebastian Huber
c1f3c2b88a score: Add and use malloc() family attributes
Update #3583.
2018-11-12 13:26:22 +01:00
Sebastian Huber
4539e30762 x86_64: Remove use of proc_ptr
Update #3585.
2018-11-12 13:26:18 +01:00
Sebastian Huber
70928bc98b sparc64: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:44 +01:00
Sebastian Huber
ce37237f96 sparc: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:44 +01:00
Sebastian Huber
510fbfc314 sh: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:44 +01:00
Sebastian Huber
ed9da8e821 powerpc: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:44 +01:00
Sebastian Huber
54c5ffca4f or1k: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:43 +01:00
Sebastian Huber
12dfa5e26f nios2: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:43 +01:00
Sebastian Huber
264e128465 moxie: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:43 +01:00
Sebastian Huber
b6be8f33a0 mips: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:43 +01:00
Sebastian Huber
5c6edeed51 m68k: Remove use of proc_ptr
Update #3585.
2018-11-12 13:25:43 +01:00